OpenCPN Partial API docs
OCPNRegion Class Reference
Inheritance diagram for OCPNRegion:

Public Member Functions

 OCPNRegion (wxCoord x, wxCoord y, wxCoord w, wxCoord h)
 
 OCPNRegion (const wxPoint &topLeft, const wxPoint &bottomRight)
 
 OCPNRegion (const wxRect &rect)
 
 OCPNRegion (const wxRegion &region)
 
 OCPNRegion (size_t n, const wxPoint *points, int fillStyle=wxODDEVEN_RULE)
 
wxRegion * GetNew_wxRegion () const
 
void InitRect (wxCoord x, wxCoord y, wxCoord w, wxCoord h)
 
bool operator== (const OCPNRegion &region) const
 
bool operator!= (const OCPNRegion &region) const
 
bool IsOk () const
 
bool Ok () const
 
bool GetBox (wxCoord &x, wxCoord &y, wxCoord &w, wxCoord &h) const
 
wxRect GetBox () const
 
wxRegionContain Contains (wxCoord x, wxCoord y) const
 
wxRegionContain Contains (const wxPoint &pt) const
 
wxRegionContain Contains (wxCoord x, wxCoord y, wxCoord w, wxCoord h) const
 
wxRegionContain Contains (const wxRect &rect) const
 
bool IsEqual (const OCPNRegion &region) const
 
virtual void Clear ()
 
virtual bool IsEmpty () const
 
bool Empty () const
 
void * GetRegion () const
 
bool Offset (wxCoord x, wxCoord y)
 
bool Offset (const wxPoint &pt)
 
bool Intersect (const OCPNRegion &region)
 
bool Union (const OCPNRegion &region)
 
bool Union (wxCoord x, wxCoord y, wxCoord w, wxCoord h)
 
bool Union (const wxRect &rect)
 
bool Subtract (const OCPNRegion &region)
 

Protected Member Functions

virtual wxObjectRefData * CreateRefData () const
 
virtual wxObjectRefData * CloneRefData (const wxObjectRefData *data) const
 
virtual bool ODoIsEqual (const OCPNRegion &region) const
 
virtual bool ODoGetBox (wxCoord &x, wxCoord &y, wxCoord &w, wxCoord &h) const
 
virtual wxRegionContain ODoContainsPoint (wxCoord x, wxCoord y) const
 
virtual wxRegionContain ODoContainsRect (const wxRect &rect) const
 
virtual bool ODoOffset (wxCoord x, wxCoord y)
 
virtual bool ODoUnionWithRect (const wxRect &rect)
 
virtual bool ODoUnionWithRegion (const OCPNRegion &region)
 
virtual bool ODoIntersect (const OCPNRegion &region)
 
virtual bool ODoSubtract (const OCPNRegion &region)
 

Detailed Description

Definition at line 48 of file OCPNRegion.h.


The documentation for this class was generated from the following files: