PrintBase CATPrintHPGLProperties
Usage: you must use this class as is. You should never derive it.
public class CATPrintHPGLProperties
Class wrapping HPGL generator properties
Role: The CAA user can define the parameters of the HPGL generator
Constructor and Destructor Index
- o
CATPrintHPGLProperties()
- Constructor
- o
CATPrintHPGLProperties(CATPrintHPGLProperties&)
- Copy constructor
- o
~CATPrintHPGLProperties()
- Destructor
Method Index
- o
GetNbPen(void)
- Retieves the number of pens
- o
GetOriginLocation(void)
- Retrieves the origin location
- o
GetPenActivation(int*)
- Retrieves the pens activation
- o
GetPenColor(float*,float*,float*)
- Retrieves the pens colors table
- o
GetPenWidth(float*)
- Retrieves the pens widths table
- o
GetPrintThicknessState(void)
- Retrieves the pen thickness state
- o
GetRelativeMoveState(void)
- Retrieves the relative move state
- o
SetOriginLocation(int)
- Sets the origin location
- o
SetPenProperties(int,float*,float*,float*,float*,int*)
- Sets the pen properties
- o
SetPrintThicknessState(int)
- Sets the pen thickness state
- o
SetRelativeMoveState(int)
- Sets the relative move state
- o
operator=(CATPrintHPGLProperties&)
- Operator=
Constructor and Destructor
o CATPrintHPGLProperties
public CATPrintHPGLProperties( | ) |
-
Constructor
o CATPrintHPGLProperties
public CATPrintHPGLProperties( | const | iHPGLProperties) |
-
Copy constructor
o ~CATPrintHPGLProperties
public virtual ~CATPrintHPGLProperties( | ) |
-
Destructor
Methods
o GetNbPen
-
Retieves the number of pens
- Returns:
- The number of pens
o GetOriginLocation
public GetOriginLocation( | | ) |
-
Retrieves the origin location
- Returns:
- The origin location
o GetPenActivation
public GetPenActivation( | | oActivPen) |
-
Retrieves the pens activation
- Parameters:
-
- oActivPen
- The pens activation
o GetPenColor
public GetPenColor( | | oRedPen, |
| | oGreenPen, |
| | oBluePen) |
-
Retrieves the pens colors table
- Parameters:
-
- oRedPen
- The red components of the pens
- oGreenPen
- The green components of the pens
- oBluePen
- The blue components of the pens
o GetPenWidth
public GetPenWidth( | | oWidthPen) |
-
Retrieves the pens widths table
- Parameters:
-
- oWitdhsPens
- The pens widths
o GetPrintThicknessState
public GetPrintThicknessState( | | ) |
-
Retrieves the pen thickness state
- Returns:
- The pen thickness state
o GetRelativeMoveState
public GetRelativeMoveState( | | ) |
-
Retrieves the relative move state
- Returns:
- The relative move state
o SetOriginLocation
public SetOriginLocation( | | iOriginLocation) |
-
Sets the origin location
- Parameters:
-
- iOriginLocation
- The origin location
o SetPenProperties
public SetPenProperties( | | iNbPen, |
| | iRedpen, |
| | iGreenPen, |
| | iBluePen, |
| | iWidthPen, |
| | iActivpen) |
-
Sets the pen properties
- Parameters:
-
- iNbPen
- The number of pens
- iRedpen
- The pens red components
- iGreenPen
- The pens green components
- iBluePen
- The pens blue components
- iWidthPen
- The pens width
- iActivePen
- The pens activation
o SetPrintThicknessState
public SetPrintThicknessState( | | iPrintPenThickness) |
-
Sets the pen thickness state
- Parameters:
-
- iPrintPenThickness
- The pen thickness
o SetRelativeMoveState
public SetRelativeMoveState( | | iRelativeMove) |
-
Sets the relative move state
- Parameters:
-
- iRelativeMove
- The relative move
o operator=
public operator=( | const | iHPGLProperties) |
-
Operator=
This object is included in the file: CATPrintHPGLProperties.h
If needed, your Imakefile.mk should include the module: CATPrintBase
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.