Public Member Functions | |
| ipicture (const ipicture &image) | |
| IPicture * | raw_picture () const |
| const ipicture & | operator= (const ipicture &image) |
| bool | get_size (SIZE &size) const |
| bool | draw (HDC hDC, int x, int y, int cx, int cy, int xSrc, int ySrc, int cxSrc, int cySrc) |
| bool | draw (HDC hDC, int x, int y, int cx, int cy, int xSrc=0, int ySrc=0) |
| bool | draw (HDC hDC, int x, int y) |
| bool | draw (HDC hDC, POINT pt) |
| bool | draw_stretched (HDC hDC, const RECT &rc) |
| bool | loaded () const |
| bool | load_from_file (const std::string &fileName) |
| void | release () |
|
||||||||||||
|
Draws the image and returns true if successfull.
|
|
||||||||||||||||
|
Draws the image and returns true if successfull.
|
|
||||||||||||||||||||||||||||||||
|
Draws the image and returns true if successfull.
|
|
||||||||||||||||||||||||||||||||||||||||
|
Draws the image and returns true if successfull.
|
|
||||||||||||
|
Draws the image stretched and returns true if successfull.
|
|
|
Determines the size of the image . If the size was determined the function returns true and the size is stored in the passed argument size |
|
|
Loads an image from a file and returns true if successfull.
|
|
|
Returns true if an image was loaded.
|
|
|
Returns a pointer to the underlying IPicture.
|
|
|
Releases the image.
|
|
by Steven Weiss. You can contact me at steven11@gmx.de. |