setBitmap
Syntax
- int setBitmap(int x, int y, char * name)
Arguments
- x
- The horizontal coordinate at which to draw the bitmap.
- y
- The vertical coordinate at which to draw the bitmap.
- name
- Null-terminated string with the name of the bitmap to use. Can be either the name of an embedded resource or a filename. Filenames may include directory information.
Return
- Integer containing value TRUE if operation completed successfully, otherwise FALSE.
Description
- Draw a specified bitmap on the current ownerdraw of buffer canvas at the specified coordinates.
- If coordinates are negative or the bitmap will not fit the canvas, it is clipped at the edges of the canvas.
See Also
- startSetPixel
Comments
- Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.