PrintBase CATPrintViewerImageBase
Usage: you must use this class as is. You should never derive it.
public class CATPrintViewerImageBase
Class to create an image for viewer printing.
Constructor and Destructor Index
- o
~CATPrintViewerImageBase()
-
Method Index
- o
Decode(CATPixelImage**,CATPrintParameters&)
- Changes the print support image in a pixel image with the appropriate parameters.
- o
Decode(CATPrintGenerator*,CATPrintParameters&)
- Computes the print viewer image with the appropriate generator
and parameters.
- o
GetMode(void)
- Returns The printing render mode.
- o
GetSize(float&,float&)
- Retrieves the size of the print viewer image.
- o
GetViewpoint(void)
- Returns the 2D-viewpoint.
Constructor and Destructor
o ~CATPrintViewerImageBase
public virtual ~CATPrintViewerImageBase( | ) |
-
Methods
o Decode
public virtual Decode( | | oPixelImage, |
| const | iParameters) |
-
Changes the print support image in a pixel image with the appropriate parameters.
- Parameters:
-
- oPixelImage
- The pixel image
- iParameters
- The print parameters
- Returns:
- The status of the method.
Legal values: 0 -> KO, 1 -> OK.
o Decode
public virtual Decode( | | iGenerator, |
| const | iParameters) |
-
Computes the print viewer image with the appropriate generator
and parameters.
- Parameters:
-
- iGenerator
- The generator.
- iParameters
- The print parameters.
- Returns:
- The status of the method.
Legal values: 0 -> KO, 1 -> OK.
o GetMode
public virtual GetMode( | | ) |
-
Returns The printing render mode.
- Returns:
- The printing render mode.
.
o GetSize
public virtual GetSize( | | oWidth, |
| | oHeight) |
-
Retrieves the size of the print viewer image.
- Parameters:
-
- oWidth
- The width of the image.
- oHeight
- The height of the image.
- Returns:
- The status of the method.
Legal values: 0 -> KO, 1 -> OK.
o GetViewpoint
public virtual GetViewpoint( | | ) |
-
Returns the 2D-viewpoint.
- Returns:
- The 2D-viewpoint.
This object is included in the file: CATPrintViewerImageBase.h
If needed, your Imakefile.mk should include the module: CATPrintBase
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.