Gnash  0.8.11dev
Public Member Functions | List of all members
gnash::agg_bitmap_info Class Reference

#include <Renderer_agg_bitmap.h>

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

Public Member Functions

 agg_bitmap_info (std::unique_ptr< image::GnashImage > im)
 
image::GnashImageimage ()
 Return a GnashImage for manipulation. More...
 
void dispose ()
 Free the memory associated with this CachedBitmap. More...
 
bool disposed () const
 Whether the CachedBitmap has been disposed. More...
 
int get_width () const
 
int get_height () const
 
int get_bpp () const
 
int get_rowlen () const
 
std::uint8_t * get_data () const
 
- Public Member Functions inherited from gnash::CachedBitmap
 CachedBitmap ()
 
virtual ~CachedBitmap ()
 
- Public Member Functions inherited from gnash::ref_counted
 ref_counted ()
 
 ref_counted (const ref_counted &)
 
void add_ref () const
 
void drop_ref () const
 
long get_ref_count () const
 

Additional Inherited Members

- Protected Member Functions inherited from gnash::ref_counted
virtual ~ref_counted ()
 

Constructor & Destructor Documentation

§ agg_bitmap_info()

gnash::agg_bitmap_info::agg_bitmap_info ( std::unique_ptr< image::GnashImage im)
inline

Member Function Documentation

§ dispose()

void gnash::agg_bitmap_info::dispose ( )
inlinevirtual

Free the memory associated with this CachedBitmap.

This allows ActionScript a little bit of control over memory.

Implements gnash::CachedBitmap.

§ disposed()

bool gnash::agg_bitmap_info::disposed ( ) const
inlinevirtual

Whether the CachedBitmap has been disposed.

A disposed CachedBitmap has no data and should not be rendered.

Implements gnash::CachedBitmap.

Referenced by image().

§ get_bpp()

int gnash::agg_bitmap_info::get_bpp ( ) const
inline

§ get_data()

std::uint8_t* gnash::agg_bitmap_info::get_data ( ) const
inline

§ get_height()

int gnash::agg_bitmap_info::get_height ( ) const
inline

§ get_rowlen()

int gnash::agg_bitmap_info::get_rowlen ( ) const
inline

§ get_width()

int gnash::agg_bitmap_info::get_width ( ) const
inline

§ image()

image::GnashImage& gnash::agg_bitmap_info::image ( )
inlinevirtual

Return a GnashImage for manipulation.

The changes to the data must be cached before the next rendering.

Implements gnash::CachedBitmap.

References disposed().


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