X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2a6f23364aefcd5095dc6558e3ab8144363fa96..751731864888f00e31e6dce1092ac28a1fac5358:/docs/latex/wx/metafile.tex diff --git a/docs/latex/wx/metafile.tex b/docs/latex/wx/metafile.tex index 338d410ab5..d13cfcb30d 100644 --- a/docs/latex/wx/metafile.tex +++ b/docs/latex/wx/metafile.tex @@ -1,7 +1,7 @@ \section{\class{wxMetafile}}\label{wxmetafile} A {\bf wxMetafile} represents the MS Windows metafile object, so metafile -operations have no effect in X. In wxWindows, only sufficient functionality +operations have no effect in X. In wxWidgets, only sufficient functionality has been provided for copying a graphic to the clipboard; this may be extended in a future version. Presently, the only way of creating a metafile is to use a wxMetafileDC. @@ -10,6 +10,10 @@ is to use a wxMetafileDC. \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxMetafileDC}{wxmetafiledc} @@ -34,14 +38,14 @@ Destructor. \func{bool}{Ok}{\void} -Returns TRUE if the metafile is valid. +Returns true if the metafile is valid. \membersection{wxMetafile::Play}\label{wxmetafileplay} \func{bool}{Play}{\param{wxDC *}{dc}} Plays the metafile into the given device context, returning -TRUE if successful. +true if successful. \membersection{wxMetafile::SetClipboard} @@ -51,7 +55,7 @@ Passes the metafile data to the clipboard. The metafile can no longer be used for anything, but the wxMetafile object must still be destroyed by the application. -Below is a example of metafle, metafile device context and clipboard use +Below is a example of metafile, metafile device context and clipboard use from the {\tt hello.cpp} example. Note the way the metafile dimensions are passed to the clipboard, making use of the device context's ability to keep track of the maximum extent of drawing commands. @@ -60,7 +64,7 @@ to keep track of the maximum extent of drawing commands. wxMetafileDC dc; if (dc.Ok()) { - Draw(dc, FALSE); + Draw(dc, false); wxMetafile *mf = dc.Close(); if (mf) { @@ -94,6 +98,10 @@ closing your disk-based metafile device context. \helpref{wxDC}{wxdc}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxMetafile}{wxmetafile}, \helpref{wxDC}{wxdc}