#include <PdfPublish2dGeometryBlock.h>
This class implements two-dimensional geometry data in .pdf documents created with Publish SDK.
Definition at line 51 of file PdfPublish2dGeometryBlock.h.
◆ Od2dGeometryBlock()
OdPdfPublish::Od2dGeometryBlock::Od2dGeometryBlock |
( |
| ) |
|
|
protected |
◆ ~Od2dGeometryBlock()
virtual OdPdfPublish::Od2dGeometryBlock::~Od2dGeometryBlock |
( |
| ) |
|
|
virtual |
Destroys the 2D geometry object.
◆ addCircle()
Adds a new circle or arc to the geometry object.
- Parameters
-
circle | [in] A circle that should be added. |
◆ addCurve()
Adds a new NURBS-curve to the geometry object.
- Parameters
-
nurb | [in] A NURBS-curve that should be added. |
◆ addEllipse()
Adds a new ellipse to the geometry object.
- Parameters
-
ellipse | [in] An ellipse that should be added. |
◆ addImage()
void OdPdfPublish::Od2dGeometryBlock::addImage |
( |
const OdImagePtr & |
image, |
|
|
const OdRect & |
location |
|
) |
| |
Adds a new image to the geometry object.
- Parameters
-
image | [in] An image that should be added. |
location | [in] A rectangle that specifies the image location. |
◆ addLine() [1/3]
Adds a new line to the geometry object.
- Parameters
-
start | [in] A starting point of the line. |
end | [in] An ending point of the line. |
◆ addLine() [2/3]
Adds a new line to the geometry object.
- Parameters
-
points | [in] An array of OdGePoint objects that determine the line. |
◆ addLine() [3/3]
Adds a new line to the geometry object.
- Parameters
-
nPoints | [in] A quantity of points in the array. |
pPoints | [in] A pointer to the point array. |
◆ addText()
void OdPdfPublish::Od2dGeometryBlock::addText |
( |
const OdTextPtr & |
text, |
|
|
const OdRect & |
location |
|
) |
| |
Adds a new text label to the geometry object.
- Parameters
-
text | [in] An instance of a text label. |
location | [in] A rectangle that specifies the text label location. |
◆ finishContour()
Finishes a new drawing contour for the geometry object.
- Parameters
-
rule | [in] A finish rule for the contour. |
◆ finishLayer()
void OdPdfPublish::Od2dGeometryBlock::finishLayer |
( |
| ) |
|
Finishes a new PDF layer for the geometry object.
◆ ODRX_DECLARE_MEMBERS()
◆ ODRX_HEAP_OPERATORS()
OdPdfPublish::Od2dGeometryBlock::ODRX_HEAP_OPERATORS |
( |
| ) |
|
◆ putColor()
Sets the geometry object's color.
- Parameters
-
color | [in] A new color value to be set. |
◆ putLineCap()
Sets the geometry object's line cap.
- Parameters
-
lineCap | [in] A new line cap value to be set. |
◆ putLineJoin()
Sets the geometry object's line join value.
- Parameters
-
lineJoin | [in] A new join value to be set. |
◆ putLineWeight()
void OdPdfPublish::Od2dGeometryBlock::putLineWeight |
( |
double |
lw | ) |
|
Sets the geometry object's lineweight.
- Parameters
-
lw | [in] A new lineweight value to be set. |
◆ putTransform()
void OdPdfPublish::Od2dGeometryBlock::putTransform |
( |
const OdGeMatrix2d & |
transform | ) |
|
Sets a new transformation matrix for the geometry object.
- Parameters
-
transform | [in] A new matrix object represented with an OdGeMatrix2d object. |
◆ setOrigin()
void OdPdfPublish::Od2dGeometryBlock::setOrigin |
( |
const OdGePoint2d & |
origin | ) |
|
Sets a new origin point for the geometry object.
- Parameters
-
origin | [in] An OdGePoint class instance that represents the new origin point. |
◆ startContour()
void OdPdfPublish::Od2dGeometryBlock::startContour |
( |
| ) |
|
Starts a new drawing contour for the geometry object.
◆ startLayer()
void OdPdfPublish::Od2dGeometryBlock::startLayer |
( |
Od2dGeometryLayerPtr & |
layer | ) |
|
Starts a new PDF layer for the geometry object.
- Parameters
-
layer | [in] A smart pointer to layer object. |
The documentation for this class was generated from the following file: