#include <gr_VectorImage.h>
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_Image * | createImageSegment (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_ByteBuf * | m_pBB_Image |
| 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.
| bool GR_VectorImage::convertFromBuffer | ( | const UT_ByteBuf * | pBB, | |
| const std::string & | mimetype, | |||
| UT_sint32 | iDisplayWidth, | |||
| UT_sint32 | iDisplayHeight | |||
| ) | [virtual] |
Implements GR_Image.
Reimplemented in GR_RSVGVectorImage.
References UT_ByteBuf::append(), DELETEP, UT_ByteBuf::getLength(), UT_ByteBuf::getPointer(), m_pBB_Image, and GR_Image::setDisplaySize().
Referenced by GR_Graphics::createNewImage().
| bool GR_VectorImage::convertToBuffer | ( | UT_ByteBuf ** | ppBB | ) | const [virtual] |
Implements GR_Image.
Reimplemented in GR_RSVGVectorImage.
References UT_ByteBuf::append(), DELETEP, UT_ByteBuf::getLength(), UT_ByteBuf::getPointer(), and 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] |
| 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.
UT_ByteBuf* GR_VectorImage::m_pBB_Image [private] |
Referenced by convertFromBuffer(), convertToBuffer(), and ~GR_VectorImage().
1.7.1