|
Public Member Functions |
| ErrCode | Destroy (void) |
| | Destroys the DIB.
|
| ErrCode | LoadFromFile (StringPtr pstrFile) |
| | Loads a DIB from an external file.
|
| DIB * | GetPtr (void) const |
| | Returns a pointer to the DIB.
|
| void | GetDimensions (HRect &rBounds) const |
| | Returns the dimensions of the DIB in pixels as a rectangle.
|
| void | GetDimensions (HPoint &ptDim) const |
| | Returns the dimensions of the DIB in pixels as a rectangle.
|
| int32 | GetHeight (void) const |
| | Returns the height of the DIB in pixels.
|
| int32 | GetWidth (void) const |
| | Returns the width of the DIB in pixels.
|
| bool | IsValid (void) const |
| | Evaluates to true if the DIB is valid, i.e., has non-zero dimensions.
|
|
| operator DIB * () const |
Protected Attributes |
|
DIB * | m_pDIB |
| | Ptr to DIB structure.
|