Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXRegion Class Reference

Region. More...

#include <FXRegion.h>

List of all members.

Public Member Functions

 FXRegion ()
 Construct new empty region.
 FXRegion (const FXRegion &r)
 Construct new region copied from region r.
 FXRegion (const FXRectangle &rect)
 Construct new region from rectangle rect.
 FXRegion (FXint x, FXint y, FXint w, FXint h)
 Construct rectangle region.
 FXRegion (const FXPoint *points, FXuint npoints, FXbool winding=false)
 Construct polygon region.
FXRegionoperator= (const FXRegion &r)
 Assign region r to this one.
FXbool empty () const
 Return true if region is empty.
FXbool contains (FXint x, FXint y) const
 Return true if region contains point.
FXbool contains (FXint x, FXint y, FXint w, FXint h) const
 Return true if region contains rectangle.
FXRectangle bounds () const
 Return bounding box.
FXRegionoffset (FXint dx, FXint dy)
 Offset region by dx,dy.
FXbool operator== (const FXRegion &r) const
 Return true if region equal to this one.
FXbool operator!= (const FXRegion &r) const
 Return true if region not equal to this one.
FXRegionoperator+= (const FXRegion &r)
 Union region r with this one.
FXRegionoperator*= (const FXRegion &r)
 Intersect region r with this one.
FXRegionoperator-= (const FXRegion &r)
 Subtract region r from this one.
FXRegionoperator^= (const FXRegion &r)
 Xor region r with this one.
FXRegion operator+ (const FXRegion &r) const
 Union of this region and region r.
FXRegion operator* (const FXRegion &r) const
 Intersection of this region and region r.
FXRegion operator- (const FXRegion &r) const
 Subtract region r from this region.
FXRegion operator^ (const FXRegion &r) const
 Xor of this region and region r.
void reset ()
 Reset region to empty.
 ~FXRegion ()
 Destroy region.

Friends

class FXDC
class FXDCWindow
class FXWindow

Detailed Description

Region.


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

Copyright © 1997-2016 Jeroen van der Zijp