Changes by last author:

= setBitmapTransparent =

== Syntax ==

:int setBitmapTransparent(int x, int y, int iName, UINT color)

== Arguments ==


::The horizontal coordinate at which to draw the bitmap.


::The vertical coordinate at which to draw the bitmap.


::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.


::The color (RGB) value of the transparent parts. Pixels in the bitmap with this color will not be drawn.

== Return ==

:Integer containing value TRUE if operation completed succesfull, otherwise FALSE.

== Description ==

:Draw a specified bitmap on the current ownerdraw of buffer canvas at the specified coordinates, without drawing pixels of the specified color.

:If coordinates are negative or the bitmap will not fit the canvas, it is clipped at the edges of the canvas.

== Example ==

== Also see ==

:RGB, RGBA, setBitmap

== Comments ==

:Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.