CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
PdfPublishImage.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// PdfPublishImage.h
28//
30
31#ifndef _PDF_PUBLISH_IMAGE_INCLUDED_
32#define _PDF_PUBLISH_IMAGE_INCLUDED_
33
35#include "Gi/GiRasterImage.h"
37
42namespace OdPdfPublish{
43
48{
49 //DOM-IGNORE-BEGIN
50protected:
52 //DOM-IGNORE-END
53public:
54 //DOM-IGNORE-BEGIN
57 //DOM-IGNORE-END
58
62 virtual ~OdImage();
63
70 void setFile(const OdString& filename);
71
77 void setImage(const OdGiRasterImagePtr& pRasterImage);
78
85 void setSize(const OdInt32 width, const OdInt32 height);
86
93 void getFile(OdString& out_filename) const;
94
101 void getImage(OdGiRasterImagePtr& pOutRasterImage) const;
102
111
118 void setLayer(const Od2dGeometryLayerPtr& layer);
119
127 void getLayer(Od2dGeometryLayerPtr& layer) const;
128
129};
130
135
136}
137#endif // _PDF_PUBLISH_IMAGE_INCLUDED_
138
#define SMARTPTR(classname)
Definition: IfcCommon.h:33
int OdInt32
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
void getSize(OdInt32 &width, OdInt32 &height) const
void setFile(const OdString &filename)
ODRX_DECLARE_MEMBERS(OdImage)
void setLayer(const Od2dGeometryLayerPtr &layer)
void setSize(const OdInt32 width, const OdInt32 height)
void setImage(const OdGiRasterImagePtr &pRasterImage)
void getFile(OdString &out_filename) const
void getImage(OdGiRasterImagePtr &pOutRasterImage) const
void getLayer(Od2dGeometryLayerPtr &layer) const
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110