CFx SDK Documentation  2020SP3
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 
OdString
Definition: OdString.h:95
GiRasterImage.h
OdPdfPublish::OdImage::getSize
void getSize(OdInt32 &width, OdInt32 &height) const
OdPdfPublish::OdImage::~OdImage
virtual ~OdImage()
OdPdfPublish::OdImage::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdImage)
OdPdfPublish::OdImage::ODRX_HEAP_OPERATORS
ODRX_HEAP_OPERATORS()
OdPdfPublish::OdImage::OdImage
OdImage()
OdPdfPublish::SMARTPTR
SMARTPTR(OdFile)
PDFPUBLISH_TOOLKIT
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
OdSmartPtr< OdGiRasterImage >
OdPdfPublish::OdImage
Definition: PdfPublishImage.h:46
OdInt32
int OdInt32
Definition: OdPlatformSettings.h:782
OdPdfPublish::OdImage::getFile
void getFile(OdString &out_filename) const
OdPdfPublish::OdImage::getImage
void getImage(OdGiRasterImagePtr &pOutRasterImage) const
OdPdfPublish
Definition: PdfPublish.h:42
OdPdfPublish::OdImage::setSize
void setSize(const OdInt32 width, const OdInt32 height)
height
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
width
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
OdPdfPublish::OdImage::setFile
void setFile(const OdString &filename)
PdfPublishBaseObject.h
OdPdfPublish::OdImage::setImage
void setImage(const OdGiRasterImagePtr &pRasterImage)
OdPdfPublish::OdObject
Definition: PdfPublishBaseObject.h:71