Go to the documentation of this file.
9 #ifndef GNASH_SHAPE_CHARACTER_DEF_H
10 #define GNASH_SHAPE_CHARACTER_DEF_H
bool pointTest(std::int32_t x, std::int32_t y, const SWFMatrix &wm) const
Definition: ShapeRecord.h:183
For DisplayObjects that don't store unusual state in their instances.
Definition: Shape.h:38
const SWFRect & bounds() const
Get cached bounds of this shape.
Definition: DefineShapeTag.h:48
TagType
SWF tag types. Symbolic names copied from Ming.
Definition: SWF.h:31
DisplayObject * createDisplayObject(Global_as &gl, DisplayObject *parent) const
Create a DisplayObject with the given parent.
Definition: DefineShapeTag.cpp:67
@ DEFINESHAPE
Definition: SWF.h:34
Immutable data representing the definition of a movie display element.
Definition: DefinitionTag.h:48
std::int32_t y
Definition: BitmapData_as.cpp:435
#define _(String)
Definition: log.h:44
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
const SWFRect & getBounds() const
Definition: ShapeRecord.h:166
Base class for render handlers.
Definition: Renderer.h:189
@ m
Definition: GnashKey.h:159
Client program's interface to the definition of a movie or sprite.
Definition: movie_definition.h:96
Rectangle class, see swf defined rectangle record.
Definition: SWFRect.h:45
@ r
Definition: GnashKey.h:164
bool pointTestLocal(std::int32_t x, std::int32_t y, const SWFMatrix &wm) const
Check if the given point is inside this shape.
Definition: DefineShapeTag.cpp:73
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: DefineShapeTag.cpp:45
@ DEFINESHAPE2
Definition: SWF.h:54
@ DEFINESHAPE4_
Definition: SWF.h:97
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:54
Definition: SWFMatrix.h:54
#define IF_VERBOSE_PARSE(x)
Definition: log.h:378
void log_parse(StringType msg, Args... args)
Definition: log.h:313
movie_root & getRoot(const as_environment &env)
Definition: as_environment.cpp:645
virtual void drawShape(const SWF::ShapeRecord &shape, const Transform &xform)=0
@ DEFINESHAPE4
Definition: SWF.h:110
The Global object ultimately contains all objects in an ActionScript run.
Definition: Global_as.h:50
std::uint16_t read_u16()
Read a aligned unsigned 16-bit value from the stream.
Definition: SWFStream.cpp:332
@ DEFINESHAPE3
Definition: SWF.h:62
void display(Renderer &renderer, const Transform &xform) const
Definition: DefineShapeTag.cpp:89
DisplayObject is the base class for all DisplayList objects.
Definition: DisplayObject.h:169
Holds information needed to draw a shape.
Definition: ShapeRecord.h:127
SWF stream wrapper class.
Definition: SWFStream.h:59
void ensureBytes(unsigned long needed)
Ensure the requested number of bytes are available for an aligned read in the currently opened tag.
Definition: SWFStream.cpp:50
@ SWF
Definition: GnashKey.h:331
std::int32_t x
Definition: BitmapData_as.cpp:434
Represents the outline of one or more shapes, along with information on fill and line styles.
Definition: DefineShapeTag.h:33