X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9ee644eac14adc5fcdf522f2483f13ebe66c9dd..58e8013e8217e36a4bdf38e6dbad3b21edf61af6:/docs/latex/wx/mask.tex?ds=sidebyside diff --git a/docs/latex/wx/mask.tex b/docs/latex/wx/mask.tex index f57652789c..96a473096c 100644 --- a/docs/latex/wx/mask.tex +++ b/docs/latex/wx/mask.tex @@ -1,7 +1,8 @@ \section{\class{wxMask}}\label{wxmask} This class encapsulates a monochrome mask bitmap, where the masked area is black and -the unmasked area is white. +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. \wxheading{Derived from} @@ -23,24 +24,24 @@ contains a mask. \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxMask::wxMask}\label{wxmaskconstr} +\membersection{wxMask::wxMask}\label{wxmaskctor} \func{}{wxMask}{\void} Default constructor. -\func{}{wxMask}{\param{const wxBitmap\& }{bitmap}} +\func{}{wxMask}{\param{const \helpref{wxBitmap}{wxbitmap}\& }{bitmap}} Constructs a mask from a monochrome bitmap. \pythonnote{This is the default constructor for wxMask in wxPython.} -\func{}{wxMask}{\param{const wxBitmap\& }{bitmap}, \param{const wxColour\& }{colour}} +\func{}{wxMask}{\param{const \helpref{wxBitmap}{wxbitmap}\& }{bitmap}, \param{const \helpref{wxColour}{wxcolour}\& }{colour}} Constructs a mask from a bitmap and a colour that indicates the background. \pythonnote{wxPython has an alternate wxMask constructor matching this -form called \tt{wxMaskColour}.} +form called {\tt wxMaskColour}.} \func{}{wxMask}{\param{const wxBitmap\& }{bitmap}, \param{int}{ index}} @@ -55,7 +56,7 @@ yet implemented for GTK. \docparam{index}{Index into a palette, specifying the transparency colour.} -\membersection{wxMask::\destruct{wxMask}} +\membersection{wxMask::\destruct{wxMask}}\label{wxmaskdtor} \func{}{\destruct{wxMask}}{\void}