#include <PdfPublish2dGeometryBlock.h>
This class implements two-dimensional geometry data (a geometry block) in PDF documents created with Publish SDK.
Definition at line 65 of file PdfPublish2dGeometryBlock.h.
◆ Od2dGeometryBlock()
| OdPdfPublish::Od2dGeometryBlock::Od2dGeometryBlock |
( |
| ) |
|
|
protected |
◆ ~Od2dGeometryBlock()
| virtual OdPdfPublish::Od2dGeometryBlock::~Od2dGeometryBlock |
( |
| ) |
|
|
virtual |
Destroys the 2D geometry block object.
◆ addCircle()
Adds a new circle or arc to the geometry block object.
- Parameters
-
| circle | [in] A circle that should be added. |
◆ addCurve()
Adds a new NURBS curve to the geometry block object.
- Parameters
-
| nurb | [in] A NURBS curve that should be added. |
◆ addEllipse()
Adds a new ellipse to the geometry block object.
- Parameters
-
| ellipse | [in] An ellipse that should be added. |
◆ addGeometryReference()
| void OdPdfPublish::Od2dGeometryBlock::addGeometryReference |
( |
const Od2dGeometryReferencePtr & | reference, |
|
|
const OdRect & | location ) |
Adds a new geometry reference to the geometry block object.
- Parameters
-
| reference | [in] An geometry reference that should be added. |
| location | [in] A rectangle that specifies the image location. |
◆ addImage()
| void OdPdfPublish::Od2dGeometryBlock::addImage |
( |
const OdImagePtr & | image, |
|
|
const OdRect & | location ) |
Adds a new image to the geometry block 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 block 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 block object.
- Parameters
-
| points | [in] An array of OdGePoint objects that determine the line. |
◆ addLine() [3/3]
Adds a new line to the geometry block 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 block 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 block object.
- Parameters
-
| rule | [in] A finish rule for the contour. |
◆ finishLayer()
| void OdPdfPublish::Od2dGeometryBlock::finishLayer |
( |
| ) |
|
Finishes use of the PDF layer previously started with a startLayer() method call for the geometry block object.
◆ ODRX_DECLARE_MEMBERS()
◆ ODRX_HEAP_OPERATORS()
| OdPdfPublish::Od2dGeometryBlock::ODRX_HEAP_OPERATORS |
( |
| ) |
|
◆ putColor()
Sets the geometry block object's color.
- Parameters
-
| color | [in] A new color value to be set. |
◆ putLineCap()
Sets the geometry block object's line cap.
- Parameters
-
| lineCap | [in] A new line cap value to be set. |
◆ putLineJoin()
Sets the geometry block 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 block object's lineweight.
- Parameters
-
| lw | [in] A new lineweight value to be set. |
◆ putTilingPattern()
| void OdPdfPublish::Od2dGeometryBlock::putTilingPattern |
( |
OdTilingPatternPtr & | pattern | ) |
|
Sets the geometry block object's tiling pattern.
- Parameters
-
| pattern | [in] A new tiling pattern value to be set. |
◆ putTransform()
| void OdPdfPublish::Od2dGeometryBlock::putTransform |
( |
const OdGeMatrix2d & | transform | ) |
|
Sets a new transformation matrix for the geometry block 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 block 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 block object.
◆ startLayer()
| void OdPdfPublish::Od2dGeometryBlock::startLayer |
( |
Od2dGeometryLayerPtr & | layer | ) |
|
Starts use of a specified PDF layer within the geometry block object.
- Parameters
-
| layer | [out] A smart pointer to the layer object that is created by the method. |
The documentation for this class was generated from the following file: