CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
PdfPublish2dGeometryBlock.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24
26//
27// PdfPublish2dGeometryBlock.h
28//
30
31#ifndef _PDF_PUBLISH_2DGEOM_BLOCK_INCLUDED_
32#define _PDF_PUBLISH_2DGEOM_BLOCK_INCLUDED_
33
34#include "PdfPublishCommon.h"
36#include "PdfPublishImage.h"
37#include "PdfPublishText.h"
39
40#include "Ge/GeEllipArc2d.h"
41
46namespace OdPdfPublish{
47
52{
53 //DOM-IGNORE-BEGIN
54protected:
56 //DOM-IGNORE-END
57public:
58 //DOM-IGNORE-BEGIN
61 //DOM-IGNORE-END
62
67
72 void setOrigin(const OdGePoint2d& origin);
73
78 void addLine(const OdGePoint2dArray& points);
79
88 void addLine(const OdGePoint2d& start, const OdGePoint2d& end);
89
95 void addLine(OdUInt32 nPoints, const OdGePoint2d* pPoints);
96
101 void addCircle(const OdGeCircArc2d& circle);
102
107 void addEllipse(const OdGeEllipArc2d& ellipse);
108
113 void addCurve(const OdGeNurbCurve2d& nurb);
114
119 void putColor(ODCOLORREF color);
120
125 void putLineWeight(double lw);
126
132
138
143 void putTransform(const OdGeMatrix2d& transform);
144
149
150
156
162 void addText(const OdTextPtr& text, const OdRect& location);
163
169 void addImage(const OdImagePtr& image, const OdRect& location);
170
175 void startLayer(Od2dGeometryLayerPtr& layer);
176
181};
182
187
188}
189#endif // _PDF_PUBLISH_2DGEOM_BLOCK_INCLUDED_
190
#define SMARTPTR(classname)
Definition: IfcCommon.h:33
#define ODCOLORREF
Definition: OdPlatform.h:933
unsigned int OdUInt32
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
void putLineJoin(Geometry::PDFLineJoin lineJoin)
void addLine(OdUInt32 nPoints, const OdGePoint2d *pPoints)
void putLineCap(Geometry::PDFLineCap lineCap)
void addText(const OdTextPtr &text, const OdRect &location)
void addCircle(const OdGeCircArc2d &circle)
ODRX_DECLARE_MEMBERS(Od2dGeometryBlock)
void addEllipse(const OdGeEllipArc2d &ellipse)
void addLine(const OdGePoint2dArray &points)
void addImage(const OdImagePtr &image, const OdRect &location)
void setOrigin(const OdGePoint2d &origin)
void putTransform(const OdGeMatrix2d &transform)
void finishContour(Geometry::PDFFinishRule rule)
void addLine(const OdGePoint2d &start, const OdGePoint2d &end)
void addCurve(const OdGeNurbCurve2d &nurb)
void startLayer(Od2dGeometryLayerPtr &layer)
void putColor(ODCOLORREF color)
GLint location
Definition: gles2_ext.h:284