OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Graphics classes

ObjectWindows GDI classes encapsulate Windows' Graphics Device Interface (GDI) to make it easier to use device context (DC) classes and GDI objects. More...

Classes

class  owl::TCelArray
 TCelArray is a horizontal array of cels (a unit of animation) created by slicing a portion of or an entire bitmap into evenly sized shapes. More...
 
class  owl::TColor
 Class wrapper for management of color values. More...
 
class  owl::TPaletteEntry
 Wrapper for Windows' PALETTEENTRY type. More...
 
class  owl::TRgbQuad
 Wrapper for Windows' RBGQUAD type. More...
 
class  owl::TRgbTriple
 Wrapper for Windows' RBGTRIPLE type. More...
 
class  owl::TDiBitmap
 The TDiBitmap class is a combination of a TDib and a TBitmap. More...
 
class  owl::TIdentityPalette
 An identity palette is a palette where the colors and order of those colors match the physical palette. More...
 
class  owl::THalftonePalette
 A halftone palette is intended for use when the stretching mode of a device context is set to HALFTONE. More...
 
class  owl::TPoint
 TPoint is a support class, derived from tagPOINT. More...
 
class  owl::TPointL
 TPointL is similar to TPoint, but uses long rather than int variables. More...
 
struct  owl::tPOINTF
 Base struct for the TPointF class. More...
 
class  owl::TPointF
 TPointF is similar to TPoint, but uses floating variables rather than integers. More...
 
class  owl::TSize
 The tagSIZE struct is defined as. More...
 
class  owl::TRect
 TRect is a mathematical class derived from tagRect. More...
 
struct  owl::RECT16
 
struct  owl::METAFILEHEADER
 
class  owl::TMetaFilePict
 TMetaFilePict is a support class used with TMetaFileDC to simplify metafile operations, such as playing into a device context (DC) or storing data on the Clipboard. More...
 
class  owl::TEnhMetaFilePict
 TEnhMetaFilePict is a class that encapsulates the enhanced metafile. More...
 

Enumerations

enum  owl::TAbsLocation { owl::alNone = 0 , owl::alTop = 1 , owl::alBottom = 2 , owl::alLeft = 3 , owl::alRight = 4 }
 General use absolute 2-D rectangular location enum. More...
 

Functions

ipstreamowl::operator>> (ipstream &is, TPoint &p)
 Extracts a TPoint object from persistent stream is, and copies it to p.
 
tistreamowl::operator>> (tistream &is, TPoint &p)
 Extracts a TPoint object from stream is, and copies it to p.
 
opstreamowl::operator<< (opstream &os, const TPoint &p)
 Inserts the given TPoint object p into persistent stream os.
 
tostreamowl::operator<< (tostream &os, const TPoint &p)
 Formats and inserts the given TPoint object p into the ostream os.
 
ipstreamowl::operator>> (ipstream &is, TPointL &p)
 
tistreamowl::operator>> (tistream &is, TPointL &p)
 
opstreamowl::operator<< (opstream &os, const TPointL &p)
 
tostreamowl::operator<< (tostream &os, const TPointL &p)
 
ipstreamowl::operator>> (ipstream &is, TPointF &p)
 
tistreamowl::operator>> (tistream &is, TPointF &p)
 
opstreamowl::operator<< (opstream &os, const TPointF &p)
 
tostreamowl::operator<< (tostream &os, const TPointF &p)
 
ipstreamowl::operator>> (ipstream &is, TSize &s)
 Extracts a TSize object from is, the given input stream, and copies it to s.
 
tistreamowl::operator>> (tistream &os, TSize &s)
 Formats and inserts the given TSize object s into the ostream os.
 
opstreamowl::operator<< (opstream &os, const TSize &s)
 Inserts the given TSize object s into the opstream os.
 
tostreamowl::operator<< (tostream &os, const TSize &s)
 Insert a size into an output stream.
 
ipstreamowl::operator>> (ipstream &is, TRect &r)
 Extracts a TRect object from is, the given input stream, and copies it to r.
 
tistreamowl::operator>> (tistream &is, TRect &r)
 Extracts the rectangle from a regular input stream.
 
opstreamowl::operator<< (opstream &os, const TRect &r)
 Inserts the given TRect object, r, into the opstream, os.
 
tostreamowl::operator<< (tostream &os, const TRect &r)
 Formats and inserts the given TRect object, r, into the ostream, os.
 

Detailed Description

ObjectWindows GDI classes encapsulate Windows' Graphics Device Interface (GDI) to make it easier to use device context (DC) classes and GDI objects.

The GDI library supports device independent drawing operations using DIBS (device independent bitmaps).

Enumeration Type Documentation

◆ TAbsLocation

General use absolute 2-D rectangular location enum.

TAbsLocation contains general-use absolute two-dimensional rectangular locations. It is used primarily to describe the locations of a gadget window, such as a toolbar or a status bar, within a decorated frame.

Enumerator
alNone 

No location specified.

alTop 

Refers to top edge of frame.

alBottom 

Refers to bottom edge of frame.

alLeft 

Refers to left edge of frame.

alRight 

Refers to right edge of frame.

Definition at line 62 of file geometry.h.

Function Documentation

◆ operator<<() [1/10]

opstream & owl::operator<< ( opstream & os,
const TPoint & p )

Inserts the given TPoint object p into persistent stream os.

Returns a reference to the resulting stream, allowing the usual chaining of << operations.

Definition at line 111 of file geometrp.cpp.

◆ operator<<() [2/10]

opstream & owl::operator<< ( opstream & os,
const TPointF & p )

Definition at line 86 of file geometrp.cpp.

References owl::tPOINTF::x, and owl::tPOINTF::y.

◆ operator<<() [3/10]

opstream & owl::operator<< ( opstream & os,
const TPointL & p )

Definition at line 64 of file geometrp.cpp.

◆ operator<<() [4/10]

opstream & owl::operator<< ( opstream & os,
const TRect & r )

Inserts the given TRect object, r, into the opstream, os.

Returns a reference to the resulting stream, allowing the usual chaining of << operations.

Definition at line 34 of file geometrp.cpp.

◆ operator<<() [5/10]

opstream & owl::operator<< ( opstream & os,
const TSize & s )

Inserts the given TSize object s into the opstream os.

Returns a reference to the resulting stream, allowing the usual chaining of << operations.

Definition at line 136 of file geometrp.cpp.

◆ operator<<() [6/10]

tostream & owl::operator<< ( tostream & os,
const TPoint & p )

Formats and inserts the given TPoint object p into the ostream os.

The format is "(x,y)". Returns a reference to the resulting stream, allowing the usual chaining of << operations.

Definition at line 123 of file geometrs.cpp.

References _T.

◆ operator<<() [7/10]

tostream & owl::operator<< ( tostream & os,
const TPointF & p )

Definition at line 96 of file geometrs.cpp.

References _T, owl::tPOINTF::x, and owl::tPOINTF::y.

◆ operator<<() [8/10]

tostream & owl::operator<< ( tostream & os,
const TPointL & p )

Definition at line 73 of file geometrs.cpp.

References _T.

◆ operator<<() [9/10]

tostream & owl::operator<< ( tostream & os,
const TRect & r )

Formats and inserts the given TRect object, r, into the ostream, os.

The format is (r.left, r.top)(r.right, r.bottom). Returns a reference to the resulting stream and allows the usual chaining of << operations.

Definition at line 34 of file geometrs.cpp.

References _T.

◆ operator<<() [10/10]

tostream & owl::operator<< ( tostream & os,
const TSize & s )

Insert a size into an output stream.

Definition at line 148 of file geometrs.cpp.

References _T.

◆ operator>>() [1/10]

ipstream & owl::operator>> ( ipstream & is,
TPoint & p )

Extracts a TPoint object from persistent stream is, and copies it to p.

Returns a reference to the resulting stream, allowing the usual chaining of >> operations.

Definition at line 102 of file geometrp.cpp.

◆ operator>>() [2/10]

ipstream & owl::operator>> ( ipstream & is,
TPointF & p )

Definition at line 78 of file geometrp.cpp.

◆ operator>>() [3/10]

ipstream & owl::operator>> ( ipstream & is,
TPointL & p )

Definition at line 48 of file geometrp.cpp.

◆ operator>>() [4/10]

ipstream & owl::operator>> ( ipstream & is,
TRect & r )

Extracts a TRect object from is, the given input stream, and copies it to r.

Returns a reference to the resulting stream, allowing the usual chaining of >> operations.

Definition at line 25 of file geometrp.cpp.

◆ operator>>() [5/10]

ipstream & owl::operator>> ( ipstream & is,
TSize & s )

Extracts a TSize object from is, the given input stream, and copies it to s.

Returns a reference to the resulting stream, allowing the usual chaining of >> operations.

Definition at line 127 of file geometrp.cpp.

◆ operator>>() [6/10]

tistream & owl::operator>> ( tistream & is,
TPoint & p )

Extracts a TPoint object from stream is, and copies it to p.

Returns a reference to the resulting stream, allowing the usual chaining of >> operations.

Definition at line 112 of file geometrs.cpp.

◆ operator>>() [7/10]

tistream & owl::operator>> ( tistream & is,
TPointF & p )

Definition at line 87 of file geometrs.cpp.

◆ operator>>() [8/10]

tistream & owl::operator>> ( tistream & is,
TPointL & p )

Definition at line 49 of file geometrs.cpp.

◆ operator>>() [9/10]

tistream & owl::operator>> ( tistream & is,
TRect & r )

Extracts the rectangle from a regular input stream.

Definition at line 22 of file geometrs.cpp.

◆ operator>>() [10/10]

tistream & owl::operator>> ( tistream & os,
TSize & s )

Formats and inserts the given TSize object s into the ostream os.

The format is "(cx x cy)". Returns a reference to the resulting stream, allowing the usual chaining of << operations.

Definition at line 139 of file geometrs.cpp.