VerticalRuler Class Reference

Encapsulates vertical ruler. More...

#include <rulers.h>

Inheritance diagram for VerticalRuler:

RulerBase List of all members.

Public Member Functions

 VerticalRuler ()
 Constructor for VerticalRuler.
BOOL Init (RulerPair *pRulers, OILVerticalRuler *pOILVRuler)
 Init a VerticalRuler.
virtual MILLIPOINT GetOrd (const UserCoord &coord)
virtual UserCoord MakeCoord (const MILLIPOINT ord)
virtual BOOL IsHorizontal ()

Private Member Functions

 CC_DECLARE_MEMDUMP (VerticalRuler)

Detailed Description

Encapsulates vertical ruler.

Author:
Ed_Cornes (Xara Group Ltd) <camelotdev@xara.com>
Date:
30/8/95

Definition at line 198 of file rulers.h.


Constructor & Destructor Documentation

VerticalRuler::VerticalRuler  ) 
 

Constructor for VerticalRuler.

Author:
Ed_Cornes (Xara Group Ltd) <camelotdev@xara.com>
Date:
29/8/95

Definition at line 529 of file rulers.cpp.

00530 {
00531     pOILRuler  = NULL;
00532     pRulerPair = NULL;
00533 }


Member Function Documentation

VerticalRuler::CC_DECLARE_MEMDUMP VerticalRuler   )  [private]
 

virtual MILLIPOINT VerticalRuler::GetOrd const UserCoord coord  )  [inline, virtual]
 

Implements RulerBase.

Definition at line 206 of file rulers.h.

00206 { return coord.y; }

BOOL VerticalRuler::Init RulerPair pRulers,
OILVerticalRuler pVOILRuler
 

Init a VerticalRuler.

Author:
Ed_Cornes (Xara Group Ltd) <camelotdev@xara.com>
Date:
29/8/95
Parameters:
pRulers - pointer to parent RulerPair object [INPUTS] pOILRuler - pointer to the associated WinOil ruler class
Returns:
FALSE if fails

Definition at line 547 of file rulers.cpp.

00548 {
00549     ERROR2IF(pVOILRuler==NULL,FALSE,"VerticalRuler::Init() - pVOILRuler==NULL");
00550     ERROR2IF(   pRulers==NULL,FALSE,"VerticalRuler::Init() - pRulers==NULL");
00551 
00552     pOILRuler  = pVOILRuler;
00553     pRulerPair = pRulers;
00554 
00555     return TRUE;
00556 }

virtual BOOL VerticalRuler::IsHorizontal  )  [inline, virtual]
 

Implements RulerBase.

Definition at line 208 of file rulers.h.

00208 { return FALSE; }

virtual UserCoord VerticalRuler::MakeCoord const MILLIPOINT  ord  )  [inline, virtual]
 

Implements RulerBase.

Definition at line 207 of file rulers.h.

00207 { return UserCoord(0,ord); }


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