CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
PdfPublish2dGeometryReference.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// PdfPublish2dGeometryReference.h
28//
30
31#ifndef _PDF_PUBLISH_2DGEOM_REF_INCLUDED_
32#define _PDF_PUBLISH_2DGEOM_REF_INCLUDED_
33
34#include "PdfPublishCommon.h"
38
43namespace OdPdfPublish{
44
55{
56protected:
57 //DOM-IGNORE-BEGIN
59 //DOM-IGNORE-END
60public:
61 //DOM-IGNORE-BEGIN
64 //DOM-IGNORE-END
65
70
77 void setBorder(bool state);
78
84
92 void getBorder(bool& state) const;
93
99 void getBorderColor(ODCOLORREF& color) const;
100
105 void setTransform(const OdGeMatrix2d& xfm);
106
112 void getTransform(OdGeMatrix2d& xfm) const;
113
118 void setGeometryBlock(const Od2dGeometryBlockPtr& block);
119
125 void getGeometryBlock(Od2dGeometryBlockPtr& block) const;
126
133 void setScale(double scale);
134
140 void getScale(double& scale) const;
141
146 void setRotation(double rotation = 0);
147
153 void getRotation(double& rotation) const;
154
159 void setTranslation(const OdGeVector2d& vec);
160
166 void getTranslation(OdGeVector2d& vec) const;
167
174 void setLayer(const Od2dGeometryLayerPtr& layer);
175
183 void getLayer(Od2dGeometryLayerPtr& layer) const;
184
185};
186
191
192}
193#endif // _PDF_PUBLISH_2DGEOM_REF_INCLUDED_
194
scale
Definition: DimVarDefs.h:1684
#define SMARTPTR(classname)
Definition: IfcCommon.h:33
#define ODCOLORREF
Definition: OdPlatform.h:933
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
void getGeometryBlock(Od2dGeometryBlockPtr &block) const
void getLayer(Od2dGeometryLayerPtr &layer) const
void setGeometryBlock(const Od2dGeometryBlockPtr &block)
void getScale(double &scale) const
void setTransform(const OdGeMatrix2d &xfm)
void getTranslation(OdGeVector2d &vec) const
ODRX_DECLARE_MEMBERS(Od2dGeometryReference)
void getBorderColor(ODCOLORREF &color) const
void getRotation(double &rotation) const
void setTranslation(const OdGeVector2d &vec)
void getBorder(bool &state) const
void setLayer(const Od2dGeometryLayerPtr &layer)
void setBorderColor(ODCOLORREF color)
void getTransform(OdGeMatrix2d &xfm) const
void setRotation(double rotation=0)