PDFix SDK  6.12.0
PdsImage Struct Referenceabstract

PdsImage class. More...

Inheritance diagram for PdsImage:
PdsPageObject

Public Member Functions

virtual PdsStreamGetDataStm ()=0
 Gets a data stream for an image. More...
 
virtual PdsSoftMaskGetSMask ()=0
 Gets the soft mask for an image. More...
 
virtual bool HasSMask () const =0
 Checks whether the image has a soft mask. More...
 
- Public Member Functions inherited from PdsPageObject
virtual PdfPageObjectType GetObjectType () const =0
 Gets the type of an object. More...
 
virtual void GetBBox (PdfRect *bbox) const =0
 
virtual void GetQuad (PdfQuad *quad) const =0
 
virtual int GetId () const =0
 Gets the ordinal number of a page object. More...
 
virtual int GetStateFlags () const =0
 Get the object state flags. More...
 
virtual bool SetStateFlags (int flags)=0
 Set the object state flags. More...
 
virtual PdsObjectGetStructObject (bool struct_parent)=0
 
virtual PdsContentMarkGetContentMark ()=0
 
virtual PdfPageGetPage ()=0
 Gets a reference to the page on which the object is present. More...
 
virtual bool GetGState (PdfGraphicState *g_state)=0
 Gets the graphic state of the page object. More...
 
virtual bool SetGState (const PdfGraphicState *g_state)=0
 
virtual bool SetMatrix (const PdfMatrix *matrix)=0
 
virtual void MoveToContent (PdsContent *content, int index)=0
 Moves object to another content. More...
 
virtual PdsPageObjectCopyToContent (PdsContent *content, int index)=0
 Copies object to another content. More...
 

Detailed Description

PdsImage class.

A PdsImage is a image object in a PDF page content.

Member Function Documentation

◆ GetDataStm()

virtual PdsStream* PdsImage::GetDataStm ( )
pure virtual

Gets a data stream for an image.

Returns
The data stream for the image.

◆ GetSMask()

virtual PdsSoftMask* PdsImage::GetSMask ( )
pure virtual

Gets the soft mask for an image.

Returns
PdsSoftMask structure representing soft mask.

◆ HasSMask()

virtual bool PdsImage::HasSMask ( ) const
pure virtual

Checks whether the image has a soft mask.

Returns
true if the soft mask exists, false otherwise.