#include <png_bitmap.hpp>
Inheritance diagram for PngBitmap:
Public Member Functions | |
PngBitmap (intf_thread_t *pIntf, image_handler_t *pImageHandler, string fileName, uint32_t aColor) | |
virtual int | getWidth () const |
Get the width of the bitmap. | |
virtual int | getHeight () const |
Get the heighth of the bitmap. | |
virtual uint8_t * | getData () const |
Definition at line 33 of file png_bitmap.hpp.
|
Load a PNG bitmap from a file. aColor is the transparency color, in the format 0xRRGGBB Definition at line 29 of file png_bitmap.cpp. References plane_t::i_pitch, picture_t::p, plane_t::p_pixels, and picture_t::pf_release. |
|
Get a linear buffer containing the image data. Each pixel is stored in 4 bytes in the order B,G,R,A Implements GenericBitmap. Definition at line 85 of file png_bitmap.cpp. References SkinObject::getIntf(). |