GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
wxMask(3) Erlang Module Definition wxMask(3)

wxMask - Functions for wxMask class

This class encapsulates a monochrome mask bitmap, where the masked area is black and the unmasked area is white.

When associated with a bitmap and drawn in a device context, the unmasked area of the bitmap will be drawn, and the masked area will not be drawn.

Note: A mask can be associated also with a bitmap with an alpha channel but drawing such bitmaps under wxMSW may be slow so using them should be avoided if drawing performance is an important factor.

See: wxBitmap, wxDC:blit/6, wxMemoryDC

wxWidgets docs: wxMask

wxMask() = wx:wx_object()

new() -> wxMask()


Default constructor.

new(Bitmap) -> wxMask()


Types:

Bitmap = wxBitmap:wxBitmap()

Constructs a mask from a monochrome bitmap.

new(Bitmap, Index) -> wxMask()


new(Bitmap, Colour) -> wxMask()


Types:

Bitmap = wxBitmap:wxBitmap()
Colour = wx:wx_colour()

Constructs a mask from a bitmap and a colour that indicates the background.

destroy(This :: wxMask()) -> ok


Destroys the wxMask object and the underlying bitmap data.

create(This, Bitmap) -> boolean()


Types:

This = wxMask()
Bitmap = wxBitmap:wxBitmap()

Constructs a mask from a monochrome bitmap.

create(This, Bitmap, Index) -> boolean()


create(This, Bitmap, Colour) -> boolean()


Types:

This = wxMask()
Bitmap = wxBitmap:wxBitmap()
Colour = wx:wx_colour()

Constructs a mask from a bitmap and a colour that indicates the background.

wx 2.1.1 wxWidgets team.

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.