Gnash
0.8.10
|
#include <Renderer_agg_bitmap.h>
Public Member Functions | |
agg_bitmap_info (std::auto_ptr< image::GnashImage > im) | |
image::GnashImage & | image () |
Return a GnashImage for manipulation. | |
void | dispose () |
Free the memory associated with this CachedBitmap. | |
bool | disposed () const |
Whether the CachedBitmap has been disposed. | |
int | get_width () const |
int | get_height () const |
int | get_bpp () const |
int | get_rowlen () const |
boost::uint8_t * | get_data () const |
gnash::agg_bitmap_info::agg_bitmap_info | ( | std::auto_ptr< image::GnashImage > | im | ) | [inline] |
void gnash::agg_bitmap_info::dispose | ( | ) | [inline, virtual] |
Free the memory associated with this CachedBitmap.
This allows ActionScript a little bit of control over memory.
Implements gnash::CachedBitmap.
bool gnash::agg_bitmap_info::disposed | ( | ) | const [inline, virtual] |
Whether the CachedBitmap has been disposed.
A disposed CachedBitmap has no data and should not be rendered.
Implements gnash::CachedBitmap.
Referenced by image().
int gnash::agg_bitmap_info::get_bpp | ( | ) | const [inline] |
boost::uint8_t* gnash::agg_bitmap_info::get_data | ( | ) | const [inline] |
Referenced by gnash::StyleHandler::addBitmap().
int gnash::agg_bitmap_info::get_height | ( | ) | const [inline] |
Referenced by gnash::StyleHandler::addBitmap().
int gnash::agg_bitmap_info::get_rowlen | ( | ) | const [inline] |
Referenced by gnash::StyleHandler::addBitmap().
int gnash::agg_bitmap_info::get_width | ( | ) | const [inline] |
Referenced by gnash::StyleHandler::addBitmap().
image::GnashImage& gnash::agg_bitmap_info::image | ( | ) | [inline, virtual] |
Return a GnashImage for manipulation.
The changes to the data must be cached before the next rendering.
Implements gnash::CachedBitmap.
References assert, and disposed().