CFx SDK Documentation 2024 SP0
|
#include <PdfPublish2dGeometryReference.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (Od2dGeometryReference) | |
ODRX_HEAP_OPERATORS () | |
virtual | ~Od2dGeometryReference () |
void | setBorder (bool state) |
void | setBorderColor (ODCOLORREF color) |
void | getBorder (bool &state) const |
void | getBorderColor (ODCOLORREF &color) const |
void | setTransform (const OdGeMatrix2d &xfm) |
void | getTransform (OdGeMatrix2d &xfm) const |
void | setGeometryBlock (const Od2dGeometryBlockPtr &block) |
void | getGeometryBlock (Od2dGeometryBlockPtr &block) const |
void | setScale (double scale) |
void | getScale (double &scale) const |
void | setRotation (double rotation=0) |
void | getRotation (double &rotation) const |
void | setTranslation (const OdGeVector2d &vec) |
void | getTranslation (OdGeVector2d &vec) const |
void | setLayer (const Od2dGeometryLayerPtr &layer) |
void | getLayer (Od2dGeometryLayerPtr &layer) const |
Public Member Functions inherited from OdPdfPublish::OdObject | |
ODRX_DECLARE_MEMBERS (OdObject) | |
ODRX_HEAP_OPERATORS () | |
virtual | ~OdObject () |
virtual bool | isEmpty () const |
virtual bool | isValid () const |
virtual void | clear () |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Protected Member Functions | |
Od2dGeometryReference () | |
Protected Member Functions inherited from OdPdfPublish::OdObject | |
OdObject (OdPublishObjectImpl *pImpl) | |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class implements a reference to the two-dimensional geometry in .pdf documents created with Publish SDK. The geometry options for this reference can be set by setting the transformation matrix, scale, rotation and translation. These options are applied to the rendering of the geometry referenced by the Od2dGeometryReference object.
Definition at line 54 of file PdfPublish2dGeometryReference.h.
|
protected |
|
virtual |
Destroys the reference to a geometry object.
void OdPdfPublish::Od2dGeometryReference::getBorder | ( | bool & | state | ) | const |
Returns the current value of the border flag for the geometry reference object. The method fills a passed value and returns it to a calling subroutine.
state | [out] A placeholder for the border flag value. |
void OdPdfPublish::Od2dGeometryReference::getBorderColor | ( | ODCOLORREF & | color | ) | const |
Returns the current border color for the geometry reference object. The method fills a passed value and returns it to a calling subroutine.
color | [out] A placeholder for the border color value. |
void OdPdfPublish::Od2dGeometryReference::getGeometryBlock | ( | Od2dGeometryBlockPtr & | block | ) | const |
Returns the currently referenced geometry block. The method fills a passed smart pointer object and returns it to a calling subroutine.
block | [out] A placeholder for a smart pointer to a geometry block object. |
void OdPdfPublish::Od2dGeometryReference::getLayer | ( | Od2dGeometryLayerPtr & | layer | ) | const |
Returns the current PDF layer object for the geometry block reference.
layer | [out] A placeholder for a smart pointer to PDF layer object. |
void OdPdfPublish::Od2dGeometryReference::getRotation | ( | double & | rotation | ) | const |
Returns the current rotation angle for the geometry block reference. The method fills a passed value and returns it to a calling subroutine.
rotation | [out] A placeholder for the rotation angle value. |
void OdPdfPublish::Od2dGeometryReference::getScale | ( | double & | scale | ) | const |
Returns the current scaling value for the geometry block reference. The method fills a passed value and returns it to a calling subroutine.
scale | [out] A placeholder for the scale value. |
void OdPdfPublish::Od2dGeometryReference::getTransform | ( | OdGeMatrix2d & | xfm | ) | const |
Returns the current transformation matrix for the geometry reference object. The method fills a passed matrix object and returns it to a calling subroutine.
xfm | [out] A placeholder for the transformation matrix. |
void OdPdfPublish::Od2dGeometryReference::getTranslation | ( | OdGeVector2d & | vec | ) | const |
Returns the current translation vector for the geometry block reference. The method fills a passed value and returns it to a calling subroutine.
vec | [out] A placeholder for the translation vector. |
OdPdfPublish::Od2dGeometryReference::ODRX_DECLARE_MEMBERS | ( | Od2dGeometryReference | ) |
OdPdfPublish::Od2dGeometryReference::ODRX_HEAP_OPERATORS | ( | ) |
void OdPdfPublish::Od2dGeometryReference::setBorder | ( | bool | state | ) |
Sets a new value of the border flag for the geometry object reference.
state | [in] A new flag value. |
void OdPdfPublish::Od2dGeometryReference::setBorderColor | ( | ODCOLORREF | color | ) |
Sets a new color for the geometry reference object.
color | [in] A new color value to be set. |
void OdPdfPublish::Od2dGeometryReference::setGeometryBlock | ( | const Od2dGeometryBlockPtr & | block | ) |
Sets a new geometry block to be referenced.
block | [in] A smart pointer to a geometry block object. |
void OdPdfPublish::Od2dGeometryReference::setLayer | ( | const Od2dGeometryLayerPtr & | layer | ) |
Sets a new PDF layer object for the geometry reference object.
layer | [in] A smart pointer to a PDF layer object. |
void OdPdfPublish::Od2dGeometryReference::setRotation | ( | double | rotation = 0 | ) |
Sets a new rotation angle (in radians) for the geometry reference object.
rotation | [in] A rotation angle value to be set. |
void OdPdfPublish::Od2dGeometryReference::setScale | ( | double | scale | ) |
Sets a scale value for the geometry reference object.
scale | [in] A scale value to be set. |
void OdPdfPublish::Od2dGeometryReference::setTransform | ( | const OdGeMatrix2d & | xfm | ) |
Sets a new transfomation matrix for the geometry reference object.
xfm | [in] A transformation matrix object. |
void OdPdfPublish::Od2dGeometryReference::setTranslation | ( | const OdGeVector2d & | vec | ) |
Sets a new translation vector for the geometry reference object.
vec | [in] A translation vector to be set. |