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_ConstByteBufPtr &ppBB) const
virtual bool convertFromBuffer (const UT_ConstByteBufPtr &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_ConstByteBufPtr m_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]

Member Function Documentation

bool GR_VectorImage::convertFromBuffer ( const UT_ConstByteBufPtr pBB,
const std::string &  mimetype,
UT_sint32  iDisplayWidth,
UT_sint32  iDisplayHeight 
) [virtual]

Implements GR_Image.

Reimplemented in GR_RSVGVectorImage.

References m_pBB_Image, and GR_Image::setDisplaySize().

Referenced by GR_Graphics::createNewImage().

bool GR_VectorImage::convertToBuffer ( UT_ConstByteBufPtr ppBB  )  const [virtual]

Implements GR_Image.

Reimplemented in GR_RSVGVectorImage.

References m_pBB_Image.

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: