CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
PdfPublish2dGeometryBlock.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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-2024 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"
40
41#include "Ge/GeEllipArc2d.h"
42
47namespace OdPdfPublish{
48
49 //DOM-IGNORE-BEGIN
50 class OdTilingPattern;
60 //DOM-IGNORE-END
61
66{
67 //DOM-IGNORE-BEGIN
68protected:
70 //DOM-IGNORE-END
71public:
72 //DOM-IGNORE-BEGIN
75 //DOM-IGNORE-END
76
81
86 void setOrigin(const OdGePoint2d& origin);
87
92 void addLine(const OdGePoint2dArray& points);
93
102 void addLine(const OdGePoint2d& start, const OdGePoint2d& end);
103
109 void addLine(OdUInt32 nPoints, const OdGePoint2d* pPoints);
110
115 void addCircle(const OdGeCircArc2d& circle);
116
121 void addEllipse(const OdGeEllipArc2d& ellipse);
122
127 void addCurve(const OdGeNurbCurve2d& nurb);
128
133 void putColor(ODCOLORREF color);
134
139 void putTilingPattern(OdTilingPatternPtr& pattern);
140
145 void putLineWeight(double lw);
146
152
158
163 void putTransform(const OdGeMatrix2d& transform);
164
169
170
176
182 void addText(const OdTextPtr& text, const OdRect& location);
183
189 void addImage(const OdImagePtr& image, const OdRect& location);
190
196 void addGeometryReference(const Od2dGeometryReferencePtr& reference, const OdRect& location);
197
204 void startLayer(Od2dGeometryLayerPtr& layer);
205
210};
211
216
217}
218#endif // _PDF_PUBLISH_2DGEOM_BLOCK_INCLUDED_
219
OdArray< OdGePoint2d, OdMemoryAllocator< OdGePoint2d > > OdGePoint2dArray
Definition GeGbl.h:45
#define SMARTPTR(classname)
Definition IfcCommon.h:33
#define ODCOLORREF
unsigned int OdUInt32
#define PDFPUBLISH_TOOLKIT
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 addGeometryReference(const Od2dGeometryReferencePtr &reference, 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 putTilingPattern(OdTilingPatternPtr &pattern)
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