A CachedBitmap is created by the renderer in a format of its choosing. More...
#include <CachedBitmap.h>
Public Member Functions | |
| CachedBitmap () | |
| virtual | ~CachedBitmap () |
| virtual GnashImage & | image ()=0 |
| Return a GnashImage for manipulation. | |
| virtual void | dispose ()=0 |
| Free the memory associated with this CachedBitmap. | |
| virtual bool | disposed () const =0 |
| Whether the CachedBitmap has been disposed. | |
A CachedBitmap is created by the renderer in a format of its choosing.
CachedBitmaps are generally left alone by libcore, but the BitmapData API provides a way of manipulating bitmaps. For this reason an image() function is required, which must return a GnashImage for manipulation.
| gnash::CachedBitmap::CachedBitmap | ( | ) | [inline] |
| virtual gnash::CachedBitmap::~CachedBitmap | ( | ) | [inline, virtual] |
| virtual void gnash::CachedBitmap::dispose | ( | ) | [pure virtual] |
Free the memory associated with this CachedBitmap.
This allows ActionScript a little bit of control over memory.
Implemented in gnash::agg_bitmap_info.
| virtual bool gnash::CachedBitmap::disposed | ( | ) | const [pure virtual] |
Whether the CachedBitmap has been disposed.
A disposed CachedBitmap has no data and should not be rendered.
Implemented in gnash::agg_bitmap_info.
| virtual GnashImage& gnash::CachedBitmap::image | ( | ) | [pure virtual] |
Return a GnashImage for manipulation.
The changes to the data must be cached before the next rendering.
Implemented in gnash::agg_bitmap_info.
1.7.1