Public Member Functions | Private Attributes

GR_VectorImage Class Reference

#include <gr_VectorImage.h>

Inheritance diagram for GR_VectorImage:
GR_Image GR_CairoVectorImage GR_RSVGVectorImage

List of all members.

Public Member Functions

 GR_VectorImage (const char *szName)
 GR_VectorImage ()
virtual ~GR_VectorImage ()
virtual bool convertToBuffer (UT_ByteBuf **ppBB) const
virtual bool convertFromBuffer (const UT_ByteBuf *pBB, const std::string &mimetype, UT_sint32 iDisplayWidth, UT_sint32 iDisplayHeight)
virtual GR_ImagecreateImageSegment (GR_Graphics *, const UT_Rect &)
virtual GRType getType () const
virtual bool render (GR_Graphics *pGR, UT_sint32 iDisplayWidth, UT_sint32 iDisplayHeight)
virtual bool hasAlpha (void) const
virtual bool isTransparentAt (UT_sint32 x, UT_sint32 y)

Private Attributes

UT_ByteBufm_pBB_Image

Constructor & Destructor Documentation

GR_VectorImage::GR_VectorImage ( const char *  szName  ) 

References GR_Image::setName().

GR_VectorImage::GR_VectorImage (  ) 
GR_VectorImage::~GR_VectorImage (  )  [virtual]

References DELETEP, and m_pBB_Image.


Member Function Documentation

bool GR_VectorImage::convertFromBuffer ( const UT_ByteBuf pBB,
const std::string &  mimetype,
UT_sint32  iDisplayWidth,
UT_sint32  iDisplayHeight 
) [virtual]
bool GR_VectorImage::convertToBuffer ( UT_ByteBuf **  ppBB  )  const [virtual]
virtual GR_Image* GR_VectorImage::createImageSegment ( GR_Graphics ,
const UT_Rect  
) [inline, virtual]

Implements GR_Image.

Reimplemented in GR_RSVGVectorImage.

References UT_ASSERT_HARMLESS, and UT_NOT_IMPLEMENTED.

virtual GRType GR_VectorImage::getType ( void   )  const [inline, virtual]

Reimplemented from GR_Image.

bool GR_VectorImage::hasAlpha ( void   )  const [virtual]

Implements GR_Image.

Reimplemented in GR_RSVGVectorImage.

References UT_ASSERT.

bool GR_VectorImage::isTransparentAt ( UT_sint32  x,
UT_sint32  y 
) [virtual]

Implements GR_Image.

Reimplemented in GR_RSVGVectorImage.

References UT_ASSERT.

bool GR_VectorImage::render ( GR_Graphics pGR,
UT_sint32  iDisplayWidth,
UT_sint32  iDisplayHeight 
) [virtual]

Reimplemented from GR_Image.

References UT_ASSERT_NOT_REACHED, and UT_UNUSED.


Member Data Documentation


The documentation for this class was generated from the following files: