X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f3845e889c7ccfe03d034a0aa79b4f4d19fbcb06..75bff3be85f3ecbb13b92763af881780180082f0:/docs/latex/wx/bitmap.tex diff --git a/docs/latex/wx/bitmap.tex b/docs/latex/wx/bitmap.tex index 74e1961857..9a179f0bf5 100644 --- a/docs/latex/wx/bitmap.tex +++ b/docs/latex/wx/bitmap.tex @@ -190,6 +190,8 @@ wxImage to a wxBitmap.} \item{Wx::Bitmap->new( width, height, depth = -1 )} \item{Wx::Bitmap->new( name, type )} \item{Wx::Bitmap->new( icon )} +\item{Wx::Bitmap->newFromBits( bits, width, height, depth = 1 )} +\item{Wx::Bitmap->newFromXPM( data )} \end{itemize} } @@ -236,6 +238,12 @@ Creates an image from a platform-dependent bitmap. This preserves mask information so that bitmaps and images can be converted back and forth without loss in that respect. +\membersection{wxBitmap::CopyFromIcon}\label{wxbitmapcopyfromicon} + +\func{bool}{CopyFromIcon}{\param{const wxIcon\&}{ icon}} + +Creates the bitmap from an icon. + \membersection{wxBitmap::Create}\label{wxbitmapcreate} \func{virtual bool}{Create}{\param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}} @@ -262,7 +270,7 @@ of possible values.} \wxheading{Return value} -TRUE if the call succeeded, FALSE otherwise. +true if the call succeeded, false otherwise. \wxheading{Remarks} @@ -419,7 +427,7 @@ In addition, wxBitmap can read all formats that \helpref{wxImage}{wximage} can \wxheading{Return value} -TRUE if the operation succeeded, FALSE otherwise. +true if the operation succeeded, false otherwise. \wxheading{Remarks} @@ -435,7 +443,7 @@ if one has been created by using the \helpref{GetPalette}{wxbitmapgetpalette} me \constfunc{bool}{Ok}{\void} -Returns TRUE if bitmap data is present. +Returns true if bitmap data is present. \membersection{wxBitmap::RemoveHandler} @@ -448,7 +456,7 @@ is not deleted. \wxheading{Return value} -TRUE if the handler was found and removed, FALSE otherwise. +true if the handler was found and removed, false otherwise. \wxheading{See also} @@ -486,7 +494,7 @@ In addition, wxBitmap can save all formats that \helpref{wxImage}{wximage} can \wxheading{Return value} -TRUE if the operation succeeded, FALSE otherwise. +true if the operation succeeded, false otherwise. \wxheading{Remarks} @@ -594,7 +602,7 @@ equal (a fast test). \wxheading{Return value} -Returns TRUE if the bitmaps were effectively equal, FALSE otherwise. +Returns true if the bitmaps were effectively equal, false otherwise. \membersection{wxBitmap::operator $!=$} @@ -609,5 +617,5 @@ unequal (a fast test). \wxheading{Return value} -Returns TRUE if the bitmaps were unequal, FALSE otherwise. +Returns true if the bitmaps were unequal, false otherwise.