Open CASCADE Technology
6.5.4
|
This class defines a PS (Adobe PostScript) plotter Driver.
All necessary information about methods (purpose, level, category, etc.)
can be found in CDL files from the inheritance tree (PlotMgt_PlotterDriver,
Aspect_Driver).
#include <PS_Driver.hxx>
PS_Driver::PS_Driver | ( | const Standard_CString | aName, |
const Quantity_Length | aDX, | ||
const Quantity_Length | aDY, | ||
const Aspect_TypeOfColorSpace | aTypeOfColorSpace = Aspect_TOCS_RGB , |
||
const Aspect_FormatOfSheetPaper | aSheetFormat = Aspect_FOSP_A4 |
||
) |
PS_Driver::PS_Driver | ( | const Handle< PlotMgt_Plotter > & | aPlotter, |
const Standard_CString | aName, | ||
const Quantity_Length | aPaperX, | ||
const Quantity_Length | aPaperY, | ||
const Aspect_TypeOfColorSpace | aTypeOfColorSpace = Aspect_TOCS_RGB |
||
) |
void PS_Driver::BeginDraw | ( | ) | [virtual] |
Implements PlotMgt_PlotterDriver.
virtual Standard_Boolean PS_Driver::DrawCurveCapable | ( | ) | const [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
void PS_Driver::EndDraw | ( | const Standard_Boolean | Synchronize = Standard_False | ) | [virtual] |
Implements Aspect_Driver.
virtual void PS_Driver::InitializeColorMap | ( | const Handle< Aspect_ColorMap > & | aColorMap | ) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual void PS_Driver::InitializeFontMap | ( | const Handle< Aspect_FontMap > & | aFontMap | ) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual void PS_Driver::InitializeMarkMap | ( | const Handle< Aspect_MarkMap > & | aFontMap | ) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual void PS_Driver::InitializeTypeMap | ( | const Handle< Aspect_TypeMap > & | aTypeMap | ) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual void PS_Driver::InitializeWidthMap | ( | const Handle< Aspect_WidthMap > & | aWidthMap | ) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual Standard_Boolean PS_Driver::PlotArc | ( | const Standard_ShortReal | X, |
const Standard_ShortReal | Y, | ||
const Standard_ShortReal | anXradius, | ||
const Standard_ShortReal | anYradius, | ||
const Standard_ShortReal | sAngle, | ||
const Standard_ShortReal | oAngle | ||
) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual Standard_Boolean PS_Driver::PlotImage | ( | const Standard_ShortReal | aX, |
const Standard_ShortReal | aY, | ||
const Standard_ShortReal | aWidth, | ||
const Standard_ShortReal | aHeight, | ||
const Standard_ShortReal | aScale, | ||
const Standard_CString | anImageFile, | ||
const Standard_Address | anArrayOfPixels, | ||
const Standard_Integer | aLineIndex = -1 |
||
) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual void PS_Driver::PlotLineAttrib | ( | const Standard_Integer | ColorIndex, |
const Standard_Integer | TypeIndex, | ||
const Standard_Integer | WidthIndex | ||
) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual Standard_Boolean PS_Driver::PlotMarker | ( | const Standard_Integer | aMarker, |
const Standard_ShortReal | Xpos, | ||
const Standard_ShortReal | Ypos, | ||
const Standard_ShortReal | Width, | ||
const Standard_ShortReal | Height, | ||
const Standard_ShortReal | Angle | ||
) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual Standard_Boolean PS_Driver::PlotPoint | ( | const Standard_ShortReal | X, |
const Standard_ShortReal | Y | ||
) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual Standard_Boolean PS_Driver::PlotPolyArc | ( | const Standard_ShortReal | X, |
const Standard_ShortReal | Y, | ||
const Standard_ShortReal | anXradius, | ||
const Standard_ShortReal | anYradius, | ||
const Standard_ShortReal | sAngle, | ||
const Standard_ShortReal | oAngle | ||
) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual Standard_Boolean PS_Driver::PlotPolygon | ( | const Standard_Address | xArray, |
const Standard_Address | yArray, | ||
const Standard_Address | nPts, | ||
const Standard_Integer | nParts | ||
) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual Standard_Boolean PS_Driver::PlotPolyline | ( | const Standard_Address | xArray, |
const Standard_Address | yArray, | ||
const Standard_Address | nPts, | ||
const Standard_Integer | nParts | ||
) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual Standard_Boolean PS_Driver::PlotPolyText | ( | const TCollection_ExtendedString & | aText, |
const Standard_ShortReal | Xpos, | ||
const Standard_ShortReal | Ypos, | ||
const Quantity_Ratio | aMargin, | ||
const Standard_ShortReal | anAngle, | ||
const Aspect_TypeOfText | aType | ||
) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual Standard_Boolean PS_Driver::PlotPolyText | ( | const Standard_CString | aText, |
const Standard_ShortReal | Xpos, | ||
const Standard_ShortReal | Ypos, | ||
const Quantity_Ratio | aMargin, | ||
const Standard_ShortReal | anAngle, | ||
const Aspect_TypeOfText | aType | ||
) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual Standard_Boolean PS_Driver::PlotSegment | ( | const Standard_ShortReal | X1, |
const Standard_ShortReal | Y1, | ||
const Standard_ShortReal | X2, | ||
const Standard_ShortReal | Y2 | ||
) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual Standard_Boolean PS_Driver::PlotText | ( | const TCollection_ExtendedString & | aText, |
const Standard_ShortReal | Xpos, | ||
const Standard_ShortReal | Ypos, | ||
const Standard_ShortReal | anAngle, | ||
const Aspect_TypeOfText | aType | ||
) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual Standard_Boolean PS_Driver::PlotText | ( | const Standard_CString | aText, |
const Standard_ShortReal | Xpos, | ||
const Standard_ShortReal | Ypos, | ||
const Standard_ShortReal | anAngle, | ||
const Aspect_TypeOfText | aType | ||
) | [protected, virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual void PS_Driver::SetTextAttrib | ( | const Standard_Integer | ColorIndex, |
const Standard_Integer | FontIndex | ||
) | [virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual void PS_Driver::SetTextAttrib | ( | const Standard_Integer | ColorIndex, |
const Standard_Integer | FontIndex, | ||
const Quantity_PlaneAngle | aSlant, | ||
const Quantity_Factor | aHScale, | ||
const Quantity_Factor | aWScale, | ||
const Standard_Boolean | isUnderlined = Standard_False |
||
) | [virtual] |
Reimplemented from PlotMgt_PlotterDriver.
virtual Standard_Boolean PS_Driver::SizeOfImageFile | ( | const Standard_CString | anImageFile, |
Standard_Integer & | aWidth, | ||
Standard_Integer & | aHeight | ||
) | const [virtual] |
Reimplemented from PlotMgt_PlotterDriver.