19 #ifndef GNASH_PATH_PARSER_H 20 #define GNASH_PATH_PARSER_H 24 #include <boost/utility.hpp> 67 PathParser(
const std::vector<Path>& paths,
size_t num_styles);
79 virtual void prepareFill(
int fill_style,
const SWFCxForm& cx) = 0;
84 virtual void terminateFill(
int fill_style) = 0;
97 virtual void moveTo(
const point&
p) = 0;
100 virtual void curveTo(
const Edge& curve) = 0;
103 virtual void lineTo(
const point& p) = 0;
106 std::deque<UnivocalPath>::iterator emitConnecting(std::deque<UnivocalPath>& paths);
110 void start_shapes(
int fill_style,
const SWFCxForm& cx);
112 void end_shapes(
int fill_style);
118 void line_to(
const Edge& curve);
120 const std::vector<Path>& _paths;
121 const size_t _num_styles;
128 #endif // __PATH_PARSER_H
Definition: PathParser.h:39
fill_type
Definition: PathParser.h:36
virtual void fillShape()
Definition: PathParser.h:90
Definition: SWFMatrix.h:53
VGPath path
Definition: testr_gtk.cpp:84
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
const point & startPoint() const
Definition: PathParser.cpp:31
2D Point class
Definition: Point2d.h:38
A subset of a shape, a series of edges sharing a single set of styles.
Definition: Geometry.h:166
Definition: PathParser.h:62
const point & endPoint() const
Definition: PathParser.cpp:37
Definition: PathParser.h:38
Definition: PathParser.h:34
fill_type _fill_type
Definition: PathParser.h:54
const Path * _path
Definition: PathParser.h:53
UnivocalPath(const Path *path, fill_type filltype)
Definition: PathParser.h:44
Definition: GnashKey.h:162
Defines an edge with a control point and an anchor point.
Definition: Geometry.h:44
virtual ~PathParser()
Definition: PathParser.h:69
UnivocalPath()
Definition: PathParser.h:42