Region Class Reference

The class defines an area of the screen. At the moment it is a DocRect, but eventually it will be decribed by a path or something. More...

#include <region.h>

List of all members.

Public Member Functions

 Region ()
 Default Constructor for Region Class. Creats a Null region.
 Region (DocRect RectRegion)
 Creates a Region from the specified rectangle.
BOOL MergeRegion (Region *RegionToMerge)
 Merges one region with another.

Private Attributes

DocRect CurrentRegion


Detailed Description

The class defines an area of the screen. At the moment it is a DocRect, but eventually it will be decribed by a path or something.

Author:
Will_Cowling (Xara Group Ltd) <camelotdev@xara.com>
Date:
08/6/93

Definition at line 120 of file region.h.


Constructor & Destructor Documentation

Region::Region  ) 
 

Default Constructor for Region Class. Creats a Null region.

Author:
Will_Cowling (Xara Group Ltd) <camelotdev@xara.com>
Date:
08/6/93
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: -

See also:
-

Definition at line 127 of file region.cpp.

00128 {
00129     CurrentRegion.lox = 0;
00130     CurrentRegion.loy = 0;
00131     CurrentRegion.hix = 0;
00132     CurrentRegion.hiy = 0;
00133 }

Region::Region DocRect  RectRegion  ) 
 

Creates a Region from the specified rectangle.

Author:
Will_Cowling (Xara Group Ltd) <camelotdev@xara.com>
Date:
08/6/93
Parameters:
A DocRect describing the bounding rectangle of the region. [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: -

See also:
-

Definition at line 150 of file region.cpp.

00151 {
00152     CurrentRegion = RectRegion;
00153 }


Member Function Documentation

BOOL Region::MergeRegion Region RegionToMerge  ) 
 

Merges one region with another.

Author:
Will_Cowling (Xara Group Ltd) <camelotdev@xara.com>
Date:
8/6/93
Parameters:
A pointer to a region to merge [INPUTS]
- [OUTPUTS]
Returns:
TRUE if merged OK, or FALSE if failed.

Errors: -

See also:
-

Definition at line 170 of file region.cpp.

00171 {
00172     return FALSE;
00173 }


Member Data Documentation

DocRect Region::CurrentRegion [private]
 

Definition at line 128 of file region.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 04:00:25 2007 for Camelot by  doxygen 1.4.4