Added docs for new wxImage constructor.
Began docs for grid sizers. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,7 +29,7 @@ handler with \helpref{wxImage::AddHandler}{wximageaddhandler} or
|
||||
\twocolitem{{\bf \indexit{wxGIFHandler}}}{Only for loading, due to legal issues.}
|
||||
\twocolitem{{\bf \indexit{wxPCXHandler}}}{For loading and saving (see below).}
|
||||
\twocolitem{{\bf \indexit{wxPNMHandler}}}{For loading and saving (see below).}
|
||||
\twocolitem{{\bf \indexit{wxTIFFHandler}}}{For loading and saving.}
|
||||
\twocolitem{{\bf \indexit{wxTIFFHandler}}}{For loading.}
|
||||
\end{twocollist}
|
||||
|
||||
When saving in PCX format, {\bf wxPCXHandler} will count the number of
|
||||
@@ -74,6 +74,13 @@ and forth without loss in that respect.
|
||||
|
||||
Creates an image with the given width and height.
|
||||
|
||||
\func{}{wxImage}{\param{int}{ width}, \param{int}{ height}, \param{unsigned char*}{ data}, \param{bool}{ static_data=FALSE}}
|
||||
|
||||
Creates an image from given data with the given width and height. If
|
||||
{\it static_data} is TRUE, then wxImage will not delete the actual
|
||||
image data in its destructor, otherwise it will free it by calling
|
||||
{\it free()}.
|
||||
|
||||
\func{}{wxImage}{\param{const wxString\& }{name}, \param{long}{ type = wxBITMAP\_TYPE\_ANY}}
|
||||
|
||||
\func{}{wxImage}{\param{const wxString\& }{name}, \param{const wxString\&}{ mimetype}}
|
||||
@@ -458,7 +465,6 @@ Saves a image in the given stream.
|
||||
\twocolitem{{\bf wxBITMAP\_TYPE\_PNG}}{Save a PNG image file.}
|
||||
\twocolitem{{\bf wxBITMAP\_TYPE\_PCX}}{Save a PCX image file (tries to save as 8-bit if possible, falls back to 24-bit otherwise).}
|
||||
\twocolitem{{\bf wxBITMAP\_TYPE\_PNM}}{Save a PNM image file (as raw RGB always).}
|
||||
\twocolitem{{\bf wxBITMAP\_TYPE\_TIF}}{Save a TIFF image file.}
|
||||
\end{twocollist}}
|
||||
|
||||
\docparam{mimetype}{MIME type.}
|
||||
|
Reference in New Issue
Block a user