#include <prnmks.h>
Inheritance diagram for MarkPosition:
Public Member Functions | |
MarkPosition () | |
Construct a mark position object. | |
void | Initialise () |
Initialise all the local variables in this mark position. | |
void | SetRegion (MarkRegion region) |
void | SetFormat (MarkFormat format) |
MarkFormat | GetFormat () const |
MarkRegion | GetRegion () const |
BOOL | IsEqualTo (const MarkPosition *pOther) const |
Check whether another mark position is identical to this one. | |
Private Member Functions | |
CC_DECLARE_DYNCREATE (MarkPosition) | |
Private Attributes | |
MarkRegion | Region |
MarkFormat | Format |
Definition at line 247 of file prnmks.h.
|
Construct a mark position object.
Definition at line 266 of file prnmks.cpp. 00267 { 00268 Initialise(); 00269 }
|
|
|
|
Definition at line 259 of file prnmks.h. 00259 { return Format; }
|
|
Definition at line 260 of file prnmks.h. 00260 { return Region; }
|
|
Initialise all the local variables in this mark position.
Definition at line 282 of file prnmks.cpp. 00283 { 00284 Region = MarkRegion_TopLeft; 00285 }
|
|
Check whether another mark position is identical to this one.
Definition at line 301 of file prnmks.cpp. 00302 { 00303 ERROR2IF(pOther==NULL, FALSE, "NULL pointer passed to MarkPosition::IsEqualTo"); 00304 return ( (Region == pOther->Region) && 00305 (Format == pOther->Format) 00306 ); 00307 }
|
|
Definition at line 257 of file prnmks.h. 00257 { Format = format; }
|
|
Definition at line 256 of file prnmks.h. 00256 { Region = region; }
|
|
|
|
|