19 #ifndef GNASH_OPENVG_BITMAP_H
20 #define GNASH_OPENVG_BITMAP_H
51 bool disposed()
const {
return !_image.get(); }
63 boost::uint8_t *
getData()
const {
return _image->begin(); }
79 boost::scoped_ptr<image::GnashImage> _image;
80 VGImageFormat _pixel_format;
90 #endif // __RENDER_OPENVG_BITMAP_H__
Definition: OpenVGBitmap.h:43
VGPaint & vgimage()
Definition: OpenVGBitmap.h:57
OpenVGBitmap * createLinearBitmap(float x0, float y0, float x1, float y1, const SWFCxForm &cx, const GradientFill::GradientRecords &records, const VGPaint paint)
Definition: OpenVGBitmap.cpp:209
Definition: SWFMatrix.h:53
Definition: OpenVGBitmap.h:43
boost::uint8_t * getData() const
Definition: OpenVGBitmap.h:63
OpenVGBitmap * applyPatternBitmap(const gnash::SWFMatrix &matrix, bitmap_wrap_mode mode, CachedBitmap *bitmap, VGPaint paint)
Definition: OpenVGBitmap.cpp:272
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
Definition: OpenVGBitmap.h:43
~OpenVGBitmap()
Definition: OpenVGBitmap.cpp:127
VGPaint getFillPaint() const
Definition: OpenVGBitmap.h:60
bitmap_wrap_mode
Set line and fill styles for mesh & line_strip rendering.
Definition: OpenVGBitmap.h:43
void dispose()
Free the memory associated with this CachedBitmap.
Definition: OpenVGBitmap.h:50
Definition: OpenVGBitmap.h:39
OpenVGBitmap * createRadialBitmap(float x0, float y0, float x1, float y1, float radial, const SWFCxForm &cx, const GradientFill::GradientRecords &records, VGPaint paint)
Definition: OpenVGBitmap.cpp:154
Base class for different types of bitmaps.
Definition: GnashImage.h:79
std::vector< GradientRecord > GradientRecords
Definition: FillStyle.h:176
image::GnashImage & image()
Return a GnashImage for manipulation.
Definition: OpenVGBitmap.h:53
OpenVGBitmap(VGPaint paint)
Definition: OpenVGBitmap.cpp:41
int getHeight()
Definition: OpenVGBitmap.h:62
A CachedBitmap is created by the renderer in a format of its choosing.
Definition: CachedBitmap.h:37
int getWidth()
Definition: OpenVGBitmap.h:61
VGPaint paint
Definition: testr_gtk.cpp:85
Definition: OpenVGBitmap.h:43
bool disposed() const
Whether the CachedBitmap has been disposed.
Definition: OpenVGBitmap.h:51