Gnash
0.8.10
|
Transfer FillStyles to OpenVG styles. More...
#include <OpenVGStyle.h>
Public Member Functions | |
StyleHandler (const SWFCxForm &cx, const VGPaint &p, float x, float y) | |
void | operator() (const GradientFill &g) const |
void | operator() (const SolidFill &f) const |
void | operator() (const BitmapFill &b) const |
Transfer FillStyles to OpenVG styles.
gnash::renderer::openvg::StyleHandler::StyleHandler | ( | const SWFCxForm & | cx, |
const VGPaint & | p, | ||
float | x, | ||
float | y | ||
) | [inline] |
void gnash::renderer::openvg::StyleHandler::operator() | ( | const GradientFill & | g | ) | const [inline] |
References GNASH_REPORT_FUNCTION, gnash::GradientFill::matrix(), gnash::renderer::openvg::Renderer_ovg::printVGMatrix(), width, height, gnash::GradientFill::type(), gnash::GradientFill::LINEAR, gnash::GradientFill::getRecords(), gnash::renderer::openvg::OpenVGBitmap::createLinearBitmap(), gnash::GradientFill::RADIAL, gnash::GradientFill::focalPoint(), and gnash::renderer::openvg::OpenVGBitmap::createRadialBitmap().
void gnash::renderer::openvg::StyleHandler::operator() | ( | const SolidFill & | f | ) | const [inline] |
void gnash::renderer::openvg::StyleHandler::operator() | ( | const BitmapFill & | b | ) | const [inline] |
References GNASH_REPORT_FUNCTION, gnash::BitmapFill::matrix(), gnash::BitmapFill::type(), gnash::BitmapFill::bitmap(), gnash::CachedBitmap::disposed(), gnash::BitmapFill::TILED, gnash::renderer::openvg::OpenVGBitmap::applyPatternBitmap(), gnash::renderer::openvg::OpenVGBitmap::WRAP_REPEAT, gnash::BitmapFill::CLIPPED, and gnash::renderer::openvg::OpenVGBitmap::WRAP_PAD.