2005/5/9

     
 

class Region

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::wx::Region Class Reference

#include <Region.h>

Inheritance diagram for acdk::wx::Region:

acdk::wx::GDIObject acdk::wx::WxObject acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

see wxRegion

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.5
Date:
Date
2005/02/05 10:45:35


Public Member Functions

 Region ()
 Region (int x, int y, int w, int h)
 Region (IN(RPoint) topLeft, IN(RPoint) bottomRight)
 Region (IN(RRect) rect)
 Region (IN(RBitmap) bmp, IN(RColour) transColour=Colour::getNullColour(), int tolerance=0)
void clear ()
bool offset (int x, int y)
bool unionRegion (int x, int y, int width, int height)
bool unionRegion (IN(RRect) rect)
bool unionRegion (IN(RRegion) region)
bool intersect (int x, int y, int width, int height)
bool intersect (IN(RRect) rect)
bool intersect (IN(RRegion) region)
bool subtract (int x, int y, int width, int height)
bool subtract (IN(RRect) rect)
bool subtract (IN(RRegion) region)
bool xorRegion (int x, int y, int width, int height)
bool xorRegion (IN(RRect) rect)
bool xorRegion (IN(RRegion) region)
void getBox (OUT(int) x, OUT(int) y, OUT(int) w, OUT(int) h) const
RRect getBox () const
bool empty () const
bool isEmpty () const
RegionContain contains (int x, int y) const
RegionContain contains (IN(RPoint) pt) const
RegionContain contains (int x, int y, int w, int h) const
RegionContain contains (IN(RRect) rect) const
RBitmap convertToBitmap () const
bool unionRegion (IN(RBitmap) bmp, IN(RColour) transColour=Colour::getNullColour(), int tolerance=0)
 From wxWidgets: Use the non-transparent pixels of a wxBitmap for the region to combine with this region.


Constructor & Destructor Documentation

acdk::wx::Region::Region  )  [inline]
 

acdk::wx::Region::Region int  x,
int  y,
int  w,
int  h
[inline]
 

acdk::wx::Region::Region IN(RPoint topLeft,
IN(RPoint bottomRight
[inline]
 

acdk::wx::Region::Region IN(RRect rect  )  [inline]
 

acdk::wx::Region::Region IN(RBitmap bmp,
IN(RColour transColour = Colour::getNullColour(),
int  tolerance = 0
[inline]
 


Member Function Documentation

void acdk::wx::Region::clear  )  [inline]
 

RegionContain acdk::wx::Region::contains IN(RRect rect  )  const [inline]
 

RegionContain acdk::wx::Region::contains int  x,
int  y,
int  w,
int  h
const [inline]
 

RegionContain acdk::wx::Region::contains IN(RPoint pt  )  const [inline]
 

RegionContain acdk::wx::Region::contains int  x,
int  y
const [inline]
 

RBitmap acdk::wx::Region::convertToBitmap  )  const [inline]
 

bool acdk::wx::Region::empty  )  const [inline]
 

RRect acdk::wx::Region::getBox  )  const [inline]
 

void acdk::wx::Region::getBox OUT(int)  x,
OUT(int)  y,
OUT(int)  w,
OUT(int)  h
const [inline]
 

bool acdk::wx::Region::intersect IN(RRegion region  )  [inline]
 

bool acdk::wx::Region::intersect IN(RRect rect  )  [inline]
 

bool acdk::wx::Region::intersect int  x,
int  y,
int  width,
int  height
[inline]
 

bool acdk::wx::Region::isEmpty  )  const [inline]
 

bool acdk::wx::Region::offset int  x,
int  y
[inline]
 

bool acdk::wx::Region::subtract IN(RRegion region  )  [inline]
 

bool acdk::wx::Region::subtract IN(RRect rect  )  [inline]
 

bool acdk::wx::Region::subtract int  x,
int  y,
int  width,
int  height
[inline]
 

bool acdk::wx::Region::unionRegion IN(RBitmap bmp,
IN(RColour transColour = Colour::getNullColour(),
int  tolerance = 0
[inline]
 

From wxWidgets: Use the non-transparent pixels of a wxBitmap for the region to combine with this region.

If the bitmap has a mask then it will be used, otherwise the colour to be treated as transparent may be specified, along with an optional tolerance value.

bool acdk::wx::Region::unionRegion IN(RRegion region  )  [inline]
 

bool acdk::wx::Region::unionRegion IN(RRect rect  )  [inline]
 

bool acdk::wx::Region::unionRegion int  x,
int  y,
int  width,
int  height
[inline]
 

bool acdk::wx::Region::xorRegion IN(RRegion region  )  [inline]
 

bool acdk::wx::Region::xorRegion IN(RRect rect  )  [inline]
 

bool acdk::wx::Region::xorRegion int  x,
int  y,
int  width,
int  height
[inline]