Inheritance diagram for CP_OSPicture:

Public Member Functions | |
Constructor / Destructor | |
| CP_OSPicture () | |
| Constructor. | |
| CP_OSPicture (SInt16 inPictID) | |
| virtual | ~CP_OSPicture () throw () |
| Destructor. | |
Getters | |
| CP_Rect | Bounds () const |
| UInt32 | Width () const |
| UInt32 | Height () const |
| OSPicture | GetOSPicture () |
Drawing | |
| void | Draw (CP_Canvas &inDestCanvas, const CP_Rect &inBounds) |
Protected Attributes | |
| OSPicture | fPicture |
Private Member Functions | |
| void | SetupBitmap (SInt16 inPictureID) |
|
|
Constructor.
|
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Returns the bounds of this picture.
|
|
|
Returns the width of this picture.
|
|
|
Returns the height of this picture.
|
|
|
|
|
||||||||||||
|
Draw the picture into the passed in canvas object, and optionally scaling to fit the passed in bounds, if supported by the underlying OS.
|
|
|
Private Windows routine to load the bitmap image from the passed in resource id.
|
|
|
|
1.4.0