CDRVectorStoredItem Class Reference

A storage item for vectors from a CDR file import. More...

#include <cdrfiltr.h>

Inheritance diagram for CDRVectorStoredItem:

ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 CDRVectorStoredItem ()
 constructor
 ~CDRVectorStoredItem ()
 destructor
KernelBitmapGetBitmap (Document *pDocument)
 generates a bitmap representatation of the vectors stored in this entry

Private Member Functions

 CC_DECLARE_MEMDUMP (CDRVectorStoredItem)

Private Attributes

NodeObjects
DWORD Reference
DocRect BBox
KernelBitmappBitmap

Friends

class CDRFilter
class CDRVectorStore

Detailed Description

A storage item for vectors from a CDR file import.

Author:
Ben_Summers (Xara Group Ltd) <camelotdev@xara.com>
Date:
19/04/95

Definition at line 292 of file cdrfiltr.h.


Constructor & Destructor Documentation

CDRVectorStoredItem::CDRVectorStoredItem void   ) 
 

constructor

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

Definition at line 1376 of file cdrfill.cpp.

01377     : BBox(0, 0, 0, 0)
01378 {
01379     Objects = 0;
01380     Reference = 0;
01381     pBitmap = 0;
01382 }

CDRVectorStoredItem::~CDRVectorStoredItem void   ) 
 

destructor

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

Definition at line 1425 of file cdrfill.cpp.

01426 {
01427     // the objects should always be deleted as copies are made when necessary
01428     if(Objects != 0)
01429         CDRFilter::DeleteNodeList(Objects);
01430 }


Member Function Documentation

CDRVectorStoredItem::CC_DECLARE_MEMDUMP CDRVectorStoredItem   )  [private]
 

KernelBitmap * CDRVectorStoredItem::GetBitmap Document pDocument  ) 
 

generates a bitmap representatation of the vectors stored in this entry

Author:
Ben_Summers (Xara Group Ltd) <camelotdev@xara.com>
Date:
17/05/95
Parameters:
a document to use the default attributes from [INPUTS]
Returns:
pointer to a bitmap or zero for an error
See also:
CDRFilter

Definition at line 1398 of file cdrfill.cpp.

01399 {
01400     ERROR2IF(Objects == 0, FALSE, "not objects in VectorStoredItem!");
01401 
01402     // has a bitmap already been made?
01403     if(pBitmap != 0)
01404         return pBitmap;
01405 
01406     // generate one...
01407 
01408     return 0;           // nothing could be generated
01409 }


Friends And Related Function Documentation

friend class CDRFilter [friend]
 

Definition at line 294 of file cdrfiltr.h.

friend class CDRVectorStore [friend]
 

Definition at line 295 of file cdrfiltr.h.


Member Data Documentation

DocRect CDRVectorStoredItem::BBox [private]
 

Definition at line 306 of file cdrfiltr.h.

Node* CDRVectorStoredItem::Objects [private]
 

Definition at line 304 of file cdrfiltr.h.

KernelBitmap* CDRVectorStoredItem::pBitmap [private]
 

Definition at line 307 of file cdrfiltr.h.

DWORD CDRVectorStoredItem::Reference [private]
 

Definition at line 305 of file cdrfiltr.h.


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