Gnash
0.8.11dev
|
A CachedBitmap is created by the renderer in a format of its choosing. More...
#include <CachedBitmap.h>
Public Member Functions | |
CachedBitmap () | |
virtual | ~CachedBitmap () |
virtual image::GnashImage & | image ()=0 |
Return a GnashImage for manipulation. More... | |
virtual void | dispose ()=0 |
Free the memory associated with this CachedBitmap. More... | |
virtual bool | disposed () const =0 |
Whether the CachedBitmap has been disposed. More... | |
![]() | |
ref_counted () | |
ref_counted (const ref_counted &) | |
void | add_ref () const |
void | drop_ref () const |
long | get_ref_count () const |
Additional Inherited Members | |
![]() | |
virtual | ~ref_counted () |
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.
|
inline |
|
inlinevirtual |
|
pure virtual |
Free the memory associated with this CachedBitmap.
This allows ActionScript a little bit of control over memory.
Implemented in gnash::renderer::openvg::OpenVGBitmap, and gnash::agg_bitmap_info.
|
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, and gnash::renderer::openvg::OpenVGBitmap.
Referenced by gnash::renderer::openvg::StyleHandler::operator()().
|
pure virtual |
Return a GnashImage for manipulation.
The changes to the data must be cached before the next rendering.
Implemented in gnash::renderer::openvg::OpenVGBitmap, and gnash::agg_bitmap_info.
Referenced by gnash::renderer::openvg::OpenVGBitmap::applyPatternBitmap(), gnash::renderer::openvg::OpenVGBitmap::OpenVGBitmap(), gnash::registerBitmapDataNative(), and test_renderer().