EPSSavedGraphicState Class Reference

to store a graphic state for the EPS filter More...

Inheritance diagram for EPSSavedGraphicState:

ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 EPSSavedGraphicState ()
 constructor
 ~EPSSavedGraphicState ()
 destructor
BOOL Setup ()
 set up the object

Public Attributes

NodePathpPath
INT32 ThePathType
AttributeEntryAttrs
EPSFlagsDefn EPSFlags

Private Member Functions

 CC_DECLARE_MEMDUMP (EPSSavedGraphicState)

Detailed Description

to store a graphic state for the EPS filter

Author:
Ben_Summers (Xara Group Ltd) <camelotdev@xara.com>
Date:
02/06/95
See also:
EPSFilter

Definition at line 6143 of file epsfiltr.cpp.


Constructor & Destructor Documentation

EPSSavedGraphicState::EPSSavedGraphicState  ) 
 

constructor

Author:
Ben_Summers (Xara Group Ltd) <camelotdev@xara.com>
Date:
02/06/95
Parameters:
- [INPUTS]
Returns:
-
See also:
EPSFilter

Definition at line 6174 of file epsfiltr.cpp.

06175 {
06176     pPath = 0;
06177     Attrs = 0;
06178 }

EPSSavedGraphicState::~EPSSavedGraphicState  ) 
 

destructor

Author:
Ben_Summers (Xara Group Ltd) <camelotdev@xara.com>
Date:
02/06/95
Parameters:
- [INPUTS]
Returns:
-
See also:
EPSFilter

Definition at line 6228 of file epsfiltr.cpp.

06229 {
06230     if(pPath != 0)
06231     {
06232         pPath->CascadeDelete();
06233         delete pPath;
06234     }
06235 
06236     if(Attrs != 0)
06237     {
06238         // how many?
06239         INT32 NumAttrs = AttributeManager::GetNumAttributes();
06240 
06241         // delete them...
06242         for (INT32 i = 0; i < NumAttrs; i++)
06243         {
06244             if((Attrs[i].pAttr != 0) && (Attrs[i].Temp == TRUE))
06245                 delete Attrs[i].pAttr;
06246         }
06247 
06248         // delete the attay
06249         delete [] Attrs;
06250     }
06251 }


Member Function Documentation

EPSSavedGraphicState::CC_DECLARE_MEMDUMP EPSSavedGraphicState   )  [private]
 

BOOL EPSSavedGraphicState::Setup  ) 
 

set up the object

Author:
Ben_Summers (Xara Group Ltd) <camelotdev@xara.com>
Date:
02/06/95
Parameters:
- [INPUTS]
Returns:
-
See also:
EPSFilter

Definition at line 6194 of file epsfiltr.cpp.

06195 {
06196     // number of attributes?
06197     INT32 NumAttrs = AttributeManager::GetNumAttributes();
06198 
06199     // get some memory for the nice attribute values
06200     Attrs = new AttributeEntry[NumAttrs];
06201 
06202     // set up the values
06203     for (INT32 i = 0; i < NumAttrs; i++)
06204     {
06205         Attrs[i].pAttr = 0;
06206         Attrs[i].Temp = FALSE;
06207         Attrs[i].Ignore = FALSE;
06208     }
06209 
06210     // All done
06211     return TRUE;
06212 }


Member Data Documentation

AttributeEntry* EPSSavedGraphicState::Attrs
 

Definition at line 6155 of file epsfiltr.cpp.

EPSFlagsDefn EPSSavedGraphicState::EPSFlags
 

Definition at line 6156 of file epsfiltr.cpp.

NodePath* EPSSavedGraphicState::pPath
 

Definition at line 6153 of file epsfiltr.cpp.

INT32 EPSSavedGraphicState::ThePathType
 

Definition at line 6154 of file epsfiltr.cpp.


The documentation for this class was generated from the following file:
Generated on Sat Nov 10 03:54:03 2007 for Camelot by  doxygen 1.4.4