Base Module  VST 3.6.6
SDK for developing VST Plug-in
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions
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
Empty

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