#include <cmxfiltr.h>
Inheritance diagram for CMXFilter32:
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) |
Definition at line 176 of file cmxfiltr.h.
|
Constructor for class CMXFilter16.
Definition at line 195 of file cmxfiltr.cpp. 00196 { 00197 // Set up filter descriptions. 00198 FilterID = FILTERID_CMX32; 00199 }
|
|
|
|
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.
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 }
|
|
Initialiser for class CMXFilter.
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 }
|