Personal tools
From wiki.swiftlytilting.com
Jump to: navigation, search

WinBinder Manual/wb create mask

Creates a masked (transparent) image

Syntax

int wb_create_mask (int bitmap, int transparent_color)
  • bitmap - true color image from which to to create a transparency mask.
  • transparent_color - The color of the bitmap which is to be transparent.

Returns

A mask in the form of a bitmap.

The resulting bitmap image must be destroyed by a call to <winterpostwiki>wb_destroy_image()</winterpostwiki>.

See also

Winbinder Projects