Gnash  0.8.10
Public Member Functions
gnash::renderer::openvg::StyleHandler Struct Reference

Transfer FillStyles to OpenVG styles. More...

#include <OpenVGStyle.h>

List of all members.

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

Detailed Description

Transfer FillStyles to OpenVG styles.

These helper functions are used by the boost::variant used for fill styles. A variant is a C++ style version of the C union. Before accessing any of the data of the variant, we have to use boost::apply_visitor() to bind one of these classes to the style to extract the data.

Constructor & Destructor Documentation

gnash::renderer::openvg::StyleHandler::StyleHandler ( const SWFCxForm cx,
const VGPaint &  p,
float  x,
float  y 
) [inline]

Member Function Documentation

void gnash::renderer::openvg::StyleHandler::operator() ( const GradientFill g) const [inline]
void gnash::renderer::openvg::StyleHandler::operator() ( const SolidFill f) const [inline]
void gnash::renderer::openvg::StyleHandler::operator() ( const BitmapFill b) const [inline]

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