CMXFilter32 Class Reference

#include <cmxfiltr.h>

Inheritance diagram for CMXFilter32:

CMXFilter VectorFilter Filter ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 CMXFilter32 ()
 Constructor for class CMXFilter16.
BOOL Init ()
 Initialiser for class CMXFilter.

Protected Member Functions

Matrix GetExportTransform (Spread *pSpread)
 get everything ready for the old exporting business -- basically set up one of our nice render regions, write a little header and get everything under way.

Private Member Functions

 CC_DECLARE_DYNAMIC (CMXFilter32)

Detailed Description

Definition at line 176 of file cmxfiltr.h.


Constructor & Destructor Documentation

CMXFilter32::CMXFilter32  ) 
 

Constructor for class CMXFilter16.

Author:
Ben_Summers (Xara Group Ltd) <camelotdev@xara.com>
Date:
19/6/96
Parameters:
None [INPUTS]
Returns:
None
See also:
class CMXFilter

Definition at line 195 of file cmxfiltr.cpp.

00196 {
00197     // Set up filter descriptions.
00198     FilterID = FILTERID_CMX32;
00199 }


Member Function Documentation

CMXFilter32::CC_DECLARE_DYNAMIC CMXFilter32   )  [private]
 

Matrix CMXFilter32::GetExportTransform Spread pSpread  )  [protected, virtual]
 

get everything ready for the old exporting business -- basically set up one of our nice render regions, write a little header and get everything under way.

Author:
Ben_Summers (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/06/96
Parameters:
none [INPUTS]
Returns:
whether it fell over or not, really.
See also:

Implements CMXFilter.

Definition at line 480 of file cmxfiltr.cpp.

00481 {
00482 #ifdef DO_EXPORT
00483     // Work out where the origin is...
00484     Page *pPage = ( Page * ) pSpread->FindFirstPageInSpread ();
00485     
00486     // Use the centre of the page as the origin.
00487     DocCoord CMXOrigin = ( pPage->GetPageRect () ).Centre ();
00488 
00489     // CMXOrigin is the origin of the page in CMX coords...
00490     Matrix Mat ( -CMXOrigin.x, -CMXOrigin.y );
00491 
00492     // Fiddle with the scale factor
00493     Mat *= Matrix(FIXED16(CAMCOORD_SCALEFACTOR32), FIXED16(CAMCOORD_SCALEFACTOR32));
00494 
00495     return Mat;
00496 #else
00497     return Matrix();
00498 #endif
00499 }

BOOL CMXFilter32::Init void   )  [virtual]
 

Initialiser for class CMXFilter.

Author:
Ben_Summers (Xara Group Ltd) <camelotdev@xara.com>
Date:
17/6/96
Parameters:
None [INPUTS]
Returns:
BOOL, propably saying whether we succeeded or not, buts it not documented
See also:
Filter

Implements Filter.

Definition at line 237 of file cmxfiltr.cpp.

00238 {
00239     // Get the OILFilter object
00240     pOILFilter = new CMX32OILFilter(this);
00241     if (pOILFilter == NULL)
00242         return FALSE;
00243 
00244     
00245     return TRUE;
00246 }


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