Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_StTextStateSaver Class Reference

CP_StTextStateSaver. More...

Inheritance diagram for CP_StTextStateSaver:

CP_NoCopy List of all members.

Public Member Functions

 CP_StTextStateSaver (CP_Canvas &inCanvas)
 ~CP_StTextStateSaver ()
void Save ()
void Restore ()
void Default ()

Protected Attributes

CP_Canvas fCanvas
SInt16 fFont
SInt16 fFontSize
SInt16 fFontStyle
SInt16 fTransferMode

Detailed Description

class to save and restore the text state of a CP_Canvas object.
See also:
CP_Canvas.


Constructor & Destructor Documentation

CPLAT_Begin_Namespace_CPLAT CP_StTextStateSaver::CP_StTextStateSaver CP_Canvas inCanvas  ) 
 

Constructor. This will also save the current text state in the canvas.

Parameters:
inCanvas - the CP_Canvas object we are saving state information for.
See also:
CP_Canvas.

CP_StTextStateSaver::~CP_StTextStateSaver  ) 
 

Destructor. This will also restore a previously saved state of the canvas object.


Member Function Documentation

void CP_StTextStateSaver::Save  ) 
 

Save the current ports text state.

void CP_StTextStateSaver::Restore  ) 
 

Restore a previously saved ports text state.

void CP_StTextStateSaver::Default  ) 
 


Member Data Documentation

CP_Canvas CP_StTextStateSaver::fCanvas [protected]
 

SInt16 CP_StTextStateSaver::fFont [protected]
 

Canvas object we are saving information about.

SInt16 CP_StTextStateSaver::fFontSize [protected]
 

Saved font number.

SInt16 CP_StTextStateSaver::fFontStyle [protected]
 

Saved font size.

SInt16 CP_StTextStateSaver::fTransferMode [protected]
 

Saved font style.


The documentation for this class was generated from the following files:
Generated on Sat Sep 17 20:02:17 2005 for CPLAT by  doxygen 1.4.0