CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdPdfPublish::Od2dGeometryBlock Class Reference

#include <PdfPublish2dGeometryBlock.h>

Inheritance diagram for OdPdfPublish::Od2dGeometryBlock:
OdPdfPublish::OdObject OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (Od2dGeometryBlock)
 
 ODRX_HEAP_OPERATORS ()
 
 Od2dGeometryBlock ()
 
virtual ~Od2dGeometryBlock ()
 
void setOrigin (const OdGePoint2d &origin)
 
void addLine (const OdGePoint2dArray &points)
 
void addLine (const OdGePoint2d &start, const OdGePoint2d &end)
 
void addLine (OdUInt32 nPoints, const OdGePoint2d *pPoints)
 
void addCircle (const OdGeCircArc2d &circle)
 
void addEllipse (const OdGeEllipArc2d &ellipse)
 
void addCurve (const OdGeNurbCurve2d &nurb)
 
void putColor (ODCOLORREF color)
 
void putLineWeight (double lw)
 
void putLineCap (Geometry::PDFLineCap lineCap)
 
void putLineJoin (Geometry::PDFLineJoin lineJoin)
 
void putTransform (const OdGeMatrix2d &transform)
 
void startContour ()
 
void finishContour (Geometry::PDFFinishRule rule)
 
void addText (const OdTextPtr &text, const OdRect &location)
 
void addImage (const OdImagePtr &image, const OdRect &location)
 
- 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 OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdPdfPublish::OdObject
 OdObject (OdPublishObjectImpl *pImpl)
 

Detailed Description

This class implements an 2d geometry in .pdf documents created with Teigha Publish.

Definition at line 49 of file PdfPublish2dGeometryBlock.h.

Constructor & Destructor Documentation

◆ Od2dGeometryBlock()

OdPdfPublish::Od2dGeometryBlock::Od2dGeometryBlock ( )

Creates an object.

◆ ~Od2dGeometryBlock()

virtual OdPdfPublish::Od2dGeometryBlock::~Od2dGeometryBlock ( )
virtual

Destroys an object.

Member Function Documentation

◆ addCircle()

void OdPdfPublish::Od2dGeometryBlock::addCircle ( const OdGeCircArc2d circle)

◆ addCurve()

void OdPdfPublish::Od2dGeometryBlock::addCurve ( const OdGeNurbCurve2d nurb)

◆ addEllipse()

void OdPdfPublish::Od2dGeometryBlock::addEllipse ( const OdGeEllipArc2d ellipse)

◆ addImage()

void OdPdfPublish::Od2dGeometryBlock::addImage ( const OdImagePtr &  image,
const OdRect location 
)

◆ addLine() [1/3]

void OdPdfPublish::Od2dGeometryBlock::addLine ( const OdGePoint2d start,
const OdGePoint2d end 
)

◆ addLine() [2/3]

void OdPdfPublish::Od2dGeometryBlock::addLine ( const OdGePoint2dArray points)

◆ addLine() [3/3]

void OdPdfPublish::Od2dGeometryBlock::addLine ( OdUInt32  nPoints,
const OdGePoint2d pPoints 
)

◆ addText()

void OdPdfPublish::Od2dGeometryBlock::addText ( const OdTextPtr &  text,
const OdRect location 
)

◆ finishContour()

void OdPdfPublish::Od2dGeometryBlock::finishContour ( Geometry::PDFFinishRule  rule)

◆ ODRX_DECLARE_MEMBERS()

OdPdfPublish::Od2dGeometryBlock::ODRX_DECLARE_MEMBERS ( Od2dGeometryBlock  )

◆ ODRX_HEAP_OPERATORS()

OdPdfPublish::Od2dGeometryBlock::ODRX_HEAP_OPERATORS ( )

◆ putColor()

void OdPdfPublish::Od2dGeometryBlock::putColor ( ODCOLORREF  color)

◆ putLineCap()

void OdPdfPublish::Od2dGeometryBlock::putLineCap ( Geometry::PDFLineCap  lineCap)

◆ putLineJoin()

void OdPdfPublish::Od2dGeometryBlock::putLineJoin ( Geometry::PDFLineJoin  lineJoin)

◆ putLineWeight()

void OdPdfPublish::Od2dGeometryBlock::putLineWeight ( double  lw)

◆ putTransform()

void OdPdfPublish::Od2dGeometryBlock::putTransform ( const OdGeMatrix2d transform)

◆ setOrigin()

void OdPdfPublish::Od2dGeometryBlock::setOrigin ( const OdGePoint2d origin)

◆ startContour()

void OdPdfPublish::Od2dGeometryBlock::startContour ( )

The documentation for this class was generated from the following file: