#include <rulers.h>
Inheritance diagram for HorizontalRuler:
Public Member Functions | |
HorizontalRuler () | |
Constructor for HorizontalRuler. | |
BOOL | Init (RulerPair *pRulers, OILHorizontalRuler *pOILHRuler) |
Init a HorizontalRuler. | |
virtual MILLIPOINT | GetOrd (const UserCoord &coord) |
virtual UserCoord | MakeCoord (const MILLIPOINT ord) |
virtual BOOL | IsHorizontal () |
Private Member Functions | |
CC_DECLARE_MEMDUMP (HorizontalRuler) |
Definition at line 176 of file rulers.h.
|
Constructor for HorizontalRuler.
Definition at line 488 of file rulers.cpp. 00489 { 00490 pOILRuler = NULL; 00491 pRulerPair = NULL; 00492 }
|
|
|
|
Implements RulerBase. Definition at line 184 of file rulers.h. 00184 { return coord.x; }
|
|
Init a HorizontalRuler.
Definition at line 506 of file rulers.cpp. 00507 { 00508 ERROR2IF(pHOILRuler==NULL,FALSE,"HorizontalRuler::Init() - pVOILRuler==NULL"); 00509 ERROR2IF( pRulers==NULL,FALSE,"HorizontalRuler::Init() - pRulers==NULL"); 00510 00511 pOILRuler = pHOILRuler; 00512 pRulerPair = pRulers; 00513 00514 return TRUE; 00515 }
|
|
Implements RulerBase. Definition at line 186 of file rulers.h. 00186 { return TRUE; }
|
|
Implements RulerBase. Definition at line 185 of file rulers.h. 00185 { return UserCoord(ord,0); }
|