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

CP_StPenStateSaver Class Reference

CP_TextState. More...

Inheritance diagram for CP_StPenStateSaver:

CP_NoCopy List of all members.

Public Member Functions

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

Private Attributes

CP_Canvas fCanvas
PenState fSavedPenState

Detailed Description

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


Constructor & Destructor Documentation

CPLAT_Begin_Namespace_CPLAT CP_StPenStateSaver::CP_StPenStateSaver CP_Canvas inCanvas  ) 
 

Constructor.

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

CP_StPenStateSaver::~CP_StPenStateSaver  ) 
 

Destructor.


Member Function Documentation

void CP_StPenStateSaver::Save  ) 
 

Save the current pen state in a canvas object.

void CP_StPenStateSaver::Restore  ) 
 

Restore the previously saved pen state.

void CP_StPenStateSaver::Default  ) 
 

Restore the pen state to the platforms normal (default) state.


Member Data Documentation

CP_Canvas CP_StPenStateSaver::fCanvas [private]
 

PenState CP_StPenStateSaver::fSavedPenState [private]
 

Canvas object we are saving information for.


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