documented wxDCClipper

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-07-09 18:31:53 +00:00
parent 0c7dcb7fd2
commit 6c975af106
2 changed files with 36 additions and 0 deletions

View File

@ -164,6 +164,7 @@ These classes are related to drawing on device contexts and windows.
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxColour}{wxcolour}}{Represents the red, blue and green elements of a colour}
\twocolitem{\helpref{wxDCClipper}{wxdcclipper}}{Wraps the operations of setting and destroying the clipping region}
\twocolitem{\helpref{wxBitmap}{wxbitmap}}{Represents a bitmap}
\twocolitem{\helpref{wxBrush}{wxbrush}}{Used for filling areas on a device context}
\twocolitem{\helpref{wxBrushList}{wxbrushlist}}{The list of previously-created brushes}

View File

@ -870,3 +870,38 @@ Message is a message to show whilst printing.
Starts a document page (only relevant when outputting to a printer).
\section{\class{wxDCClipper}}\label{wxdcclipper}
This is a small helper class which sets the specified to its constructor
clipping region and then automatically destroyes it in its destructor. Using
it ensures that unwanted clipping region is not left set on the DC.
\wxheading{Derived from}
No base class
\wxheading{Include files}
<wx/dc.h>
\wxheading{See also}
\helpref{wxDC}{wxdc}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDCClipper::wxDCClipper}
\func{}{wxDCClipper}{\param{wxDC\& }{dc}, \param{wxCoord }{x},\param{wxCoord }{y},\param{wxCoord }{w},\param{wxCoord }{h},}
\func{}{wxDCClipper}{\param{wxDC\& }{dc}, \param{const wxRect\&}{ rect}}
Constructor: sets the the clipping region for the given device context to the
specified rectangle.
\membersection{wxDCClipper::\destruct{wxDCClipper}}
\func{}{\destruct{wxDCClipper}}{\void}
Destructor: destroyes the clipping region set in the constructor.