Gnash  0.8.10
Public Member Functions
gnash::agg_bitmap_info Class Reference

#include <Renderer_agg_bitmap.h>

Inheritance diagram for gnash::agg_bitmap_info:
gnash::CachedBitmap gnash::ref_counted

List of all members.

Public Member Functions

 agg_bitmap_info (std::auto_ptr< image::GnashImage > im)
image::GnashImageimage ()
 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

Constructor & Destructor Documentation

gnash::agg_bitmap_info::agg_bitmap_info ( std::auto_ptr< image::GnashImage im) [inline]

Member Function Documentation

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]
int gnash::agg_bitmap_info::get_height ( ) const [inline]
int gnash::agg_bitmap_info::get_rowlen ( ) const [inline]
int gnash::agg_bitmap_info::get_width ( ) const [inline]
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().


The documentation for this class was generated from the following file: