Region Class Reference

Region Class. More...

#include <fregion.h>

Public Member Functions

 Region ()
 Region (const Rect &r)
 Region (const Region &r)
Regionoperator= (const Region &src)
RegioncopyFrom (const Region &r)
bool isEmpty () const
int32 countRects () const
void clear ()
void fromRect (const Rect &r)
void fromRects (const TContainer< Rect > &rects)
bool getRects (TContainer< Rect > &rects, bool left2right=true, bool topdown=true, int32 maxArea=0) const
const RectgetBoundingRect () const
bool equals (const Region &r) const
bool operator== (const Region &r) const
bool operator!= (const Region &r) const
bool pointInside (const Point &p) const
bool rectInside (const Rect &r) const
Regionoffset (const Point &off)
RegionassignIntersection (const Region &r)
RegionassignUnion (const Region &r)
RegionassignSubtraction (const Region &r)
Region getIntersection (const Region &r) const
Region getUnion (const Region &r) const
Region getSubtraction (const Region &r) const

Detailed Description

Region Class.

See also:
Rect, Point, UCoord

Constructor & Destructor Documentation

Region (  ) 
Region ( const Rect r  ) 
Region ( const Region r  ) 

Member Function Documentation

Region& operator= ( const Region src  )  [inline]
Region & copyFrom ( const Region r  ) 
bool isEmpty (  )  const [inline]
int32 countRects (  )  const [inline]
void clear (  ) 
void fromRect ( const Rect r  ) 
void fromRects ( const TContainer< Rect > &  rects  ) 
bool getRects ( TContainer< Rect > &  rects,
bool  left2right = true,
bool  topdown = true,
int32  maxArea = 0 
) const
const Rect& getBoundingRect (  )  const [inline]
bool equals ( const Region r  )  const
bool operator== ( const Region r  )  const [inline]
bool operator!= ( const Region r  )  const [inline]
bool pointInside ( const Point p  )  const
bool rectInside ( const Rect r  )  const
Region & offset ( const Point off  ) 
Region & assignIntersection ( const Region r  ) 
Region & assignUnion ( const Region r  ) 
Region & assignSubtraction ( const Region r  ) 
Region getIntersection ( const Region r  )  const
Region getUnion ( const Region r  )  const
Region getSubtraction ( const Region r  )  const
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Empty

Copyright ©2013 Steinberg Media Technologies GmbH. All Rights Reserved.