20 #ifndef GNASH_SWF_SHAPERECORD_H
21 #define GNASH_SWF_SHAPERECORD_H
32 class movie_definition;
46 typedef std::vector<Path>
Paths;
83 _paths.push_back(path);
87 _lineStyles.push_back(ls);
163 _subshapes.push_back(subshape);
185 for (SWF::ShapeRecord::Subshapes::const_iterator it = _subshapes.begin(),
186 end = _subshapes.end(); it !=
end; ++it) {
197 unsigned readStyleChange(
SWFStream& in,
size_t num_fill_bits,
size_t numStyles);
200 enum ShapeRecordFlags {
203 SHAPE_FILLSTYLE0_CHANGE = 0x02,
204 SHAPE_FILLSTYLE1_CHANGE = 0x04,
205 SHAPE_LINESTYLE_CHANGE = 0x08,
206 SHAPE_HAS_NEW_STYLES = 0x10
213 std::ostream&
operator<<(std::ostream&
o,
const ShapeRecord& sh);