Public Member Functions | |
IE_RSVGBitmapGraphic () | |
virtual | ~IE_RSVGBitmapGraphic () |
virtual UT_Error | importGraphic (const UT_ConstByteBufPtr &pBB, FG_ConstGraphicPtr &pfg) |
Private Member Functions | |
UT_Error | _importGraphic (const UT_ConstByteBufPtr &pBB) |
void | _createPNGFromPixbuf (GdkPixbuf *pixbuf) |
UT_Error | Initialize_PNG (void) |
Private Attributes | |
png_structp | m_pPNG |
png_infop | m_pPNGInfo |
UT_ByteBufPtr | m_pPngBB |
IE_RSVGBitmapGraphic::IE_RSVGBitmapGraphic | ( | ) | [inline] |
virtual IE_RSVGBitmapGraphic::~IE_RSVGBitmapGraphic | ( | ) | [inline, virtual] |
void IE_RSVGBitmapGraphic::_createPNGFromPixbuf | ( | GdkPixbuf * | pixbuf | ) | [inline, private] |
References DELETEP, m_pPNG, and m_pPNGInfo.
Referenced by _importGraphic().
UT_Error IE_RSVGBitmapGraphic::_importGraphic | ( | const UT_ConstByteBufPtr & | pBB | ) | [inline, private] |
References _createPNGFromPixbuf(), abicollab::service::error(), Initialize_PNG(), m_pPNG, m_pPNGInfo, and UT_DEBUGMSG.
Referenced by importGraphic().
virtual UT_Error IE_RSVGBitmapGraphic::importGraphic | ( | const UT_ConstByteBufPtr & | pBB, | |
FG_ConstGraphicPtr & | pfg | |||
) | [inline, virtual] |
Convert an image data buffer into PNG image buffer.
Reimplemented from IE_ImpGraphic.
References _importGraphic(), DELETEP, m_pPngBB, and UT_OK.
UT_Error IE_RSVGBitmapGraphic::Initialize_PNG | ( | void | ) | [inline, private] |
References _write_png(), m_pPNG, m_pPngBB, and m_pPNGInfo.
Referenced by _importGraphic().
png_structp IE_RSVGBitmapGraphic::m_pPNG [private] |
Referenced by _createPNGFromPixbuf(), _importGraphic(), and Initialize_PNG().
UT_ByteBufPtr IE_RSVGBitmapGraphic::m_pPngBB [private] |
Referenced by importGraphic(), and Initialize_PNG().
png_infop IE_RSVGBitmapGraphic::m_pPNGInfo [private] |
Referenced by _createPNGFromPixbuf(), _importGraphic(), and Initialize_PNG().