.\" This is a wxWidgets manpage page generated from the XML docs .TH wxDCClipper 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxDCClipper \- Wraps the operations of setting and destroying the clipping region .SH DESCRIPTION This is a small helper class which sets the specified DC to its constructor clipping region and then automatically destroys it in its destructor. Using it ensures that an unwanted clipping region is not left set on the DC. .SH "PARENTS" .SH "INCLUDE FILES" wx/dc.h .SH MEMBERS .SS wxDCClipper (wxDC& dcwxCoord xwxCoord ywxCoord wwxCoord h) .SS wxDCClipper (wxDC& dcconst wxRect& rect) Constructor: sets the clipping region for the given device context to the specified rectangle. .SS ~wxDCClipper () Destructor: destroys the clipping region set in the constructor. .SH "SEE ALSO" wxDC .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.