CFx SDK Documentation  2023 SP0
PdfPublishImage.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, 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 Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 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 
34 #include "PdfPublishBaseObject.h"
35 #include "Gi/GiRasterImage.h"
36 
40 namespace OdPdfPublish{
41 
46 {
47 public:
48  //DOM-IGNORE-BEGIN
51  //DOM-IGNORE-END
52 
57 
61  virtual ~OdImage();
62 
69  void setFile(const OdString& filename);
70 
71  void setImage(const OdGiRasterImagePtr& pRasterImage);
72 
79  void setSize(const OdInt32 width, const OdInt32 height);
80 
87  void getFile(OdString& out_filename) const;
88 
89  void getImage(OdGiRasterImagePtr& pOutRasterImage) const;
90 
99 
100 };
101 
106 
107 }
108 #endif // _PDF_PUBLISH_IMAGE_INCLUDED_
109 
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 setSize(const OdInt32 width, const OdInt32 height)
void setImage(const OdGiRasterImagePtr &pRasterImage)
void getFile(OdString &out_filename) const
void getImage(OdGiRasterImagePtr &pOutRasterImage) const
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
SMARTPTR(OdFile)