#include <gr_UnixCairoImage.h>
Public Member Functions | |
GR_UnixCairoImage (const char *name, GdkPixbuf *pixbuf) | |
GdkPixbuf * | getPixbuf (void) |
Private Member Functions | |
GR_UnixCairoImage () | |
GR_UnixCairoImage (const GR_UnixCairoImage &other) | |
GR_UnixCairoImage & | operator= (const GR_UnixCairoImage &other) |
GR_UnixCairoImage::GR_UnixCairoImage | ( | const char * | name, | |
GdkPixbuf * | pixbuf | |||
) |
Does not keep a reference to
References convertToPng(), UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.
GR_UnixCairoImage::GR_UnixCairoImage | ( | ) | [private] |
GR_UnixCairoImage::GR_UnixCairoImage | ( | const GR_UnixCairoImage & | other | ) | [private] |
GdkPixbuf * GR_UnixCairoImage::getPixbuf | ( | void | ) |
Returns a GdkPixbuf equivalent form of this image. The caller owns the ref to the image, and should call g_object_unref() on it when finished
References abicollab::service::error(), UT_ByteBuf::getLength(), UT_ByteBuf::getPointer(), UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.
GR_UnixCairoImage& GR_UnixCairoImage::operator= | ( | const GR_UnixCairoImage & | other | ) | [private] |