Gnash  0.8.11dev
Matrix_as.h
Go to the documentation of this file.
1 // Matrix_as.h: ActionScript "Matrix" class, for Gnash.
2 //
3 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
4 // Free Software Foundation, Inc
5 //
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 3 of the License, or
9 // (at your option) any later version.
10 //
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 //
20 
21 #ifndef GNASH_ASOBJ_MATRIX_H
22 #define GNASH_ASOBJ_MATRIX_H
23 
24 
25 namespace gnash {
26 
27 class as_object;
28 struct ObjectURI;
29 
31 void matrix_class_init(as_object& where, const ObjectURI& uri);
32 
33 } // end of gnash namespace
34 
35 #endif
gnash::toNumber
double toNumber(const as_value &v, const VM &vm)
Convert an as_value to a double.
Definition: VM.cpp:451
gnash::key::d
@ d
Definition: GnashKey.h:150
gnash::as_object
The base class for all ActionScript objects.
Definition: as_object.h:162
as_object.h
gnash::toObject
as_object * toObject(const as_value &v, VM &vm)
Convert an as_value to an object.
Definition: VM.cpp:457
gnash::log_debug
void log_debug(StringType msg, Args... args)
Definition: log.h:301
y
std::int32_t y
Definition: BitmapData_as.cpp:435
_
#define _(String)
Definition: log.h:44
gnash
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
gnash::NSV::PROP_C
@ PROP_C
Definition: namedStrings.h:63
gnash::key::m
@ m
Definition: GnashKey.h:159
Global_as.h
gnash::getGlobal
Global_as & getGlobal(const as_environment &env)
Definition: as_environment.cpp:651
gnash::getVM
VM & getVM(const as_environment &env)
Definition: as_environment.h:222
gnash::matrix_class_init
void matrix_class_init(as_object &where, const ObjectURI &uri)
Initialize the global Matrix class.
Definition: Matrix_as.cpp:97
as_function.h
gnash::log_error
void log_error(StringType msg, Args... args)
Definition: log.h:283
Matrix_as.h
gnash::as_object::init_destructive_property
bool init_destructive_property(const ObjectURI &uri, as_function &getter, int flags=PropFlags::dontEnum)
Initialize a destructive getter property.
Definition: as_object.cpp:720
gnash::createObject
as_object * createObject(const Global_as &gl)
Definition: Global_as.cpp:303
gnash::NSV::PROP_A
@ PROP_A
Definition: namedStrings.h:58
gnash::callMethod
as_value callMethod(fn_call::Args &args, as_object *obj, const ObjectURI &uri)
Call a member function of this object in an AS-compatible way.
Definition: Global_as.h:219
gnash::fn_call::Args
FunctionArgs< as_value > Args
Definition: fn_call.h:121
gnash::key::a
@ a
Definition: GnashKey.h:147
IF_VERBOSE_ASCODING_ERRORS
#define IF_VERBOSE_ASCODING_ERRORS(x)
Definition: log.h:397
gnash::constructInstance
as_object * constructInstance(as_function &ctor, const as_environment &env, fn_call::Args &args)
Definition: as_function.cpp:47
gnash::NSV::PROP_TY
@ PROP_TY
Definition: namedStrings.h:98
gnash::NSV::PROP_X
@ PROP_X
Definition: namedStrings.h:131
test.w
w
Definition: test.py:8
gnash::point
geometry::Point2d point
Definition: Point2d.h:143
gnash::getClassConstructor
as_function * getClassConstructor(const fn_call &fn, const std::string &s)
Convenience function for finding a class constructor.
Definition: Global_as.h:249
VM.h
gnash::NSV::PROP_B
@ PROP_B
Definition: namedStrings.h:61
gnash::log_aserror
void log_aserror(StringType msg, Args... args)
Definition: log.h:331
log.h
fn_call.h
namedStrings.h
test.uri
uri
Definition: test.py:12
gnash::key::c
@ c
Definition: GnashKey.h:149
gnash::NSV::PROP_D
@ PROP_D
Definition: namedStrings.h:69
gnash::getURI
ObjectURI getURI(const VM &vm, const std::string &str, bool lowerCaseHint=false)
Definition: VM.h:290
gnash::key::o
@ o
Definition: GnashKey.h:161
gnash::NSV::PROP_TX
@ PROP_TX
Definition: namedStrings.h:97
gnash::NSV::PROP_Y
@ PROP_Y
Definition: namedStrings.h:132
gnash::key::u
@ u
Definition: GnashKey.h:167
gnash::ObjectURI
A URI for describing as_objects.
Definition: ObjectURI.h:45
GnashException.h
x
std::int32_t x
Definition: BitmapData_as.cpp:434
gnash::findObject
as_object * findObject(const as_environment &ctx, const std::string &path, const as_environment::ScopeStack *scope)
Find the object referenced by the given path.
Definition: as_environment.cpp:116
gnash::key::b
@ b
Definition: GnashKey.h:148
test.v
v
Definition: test.py:11
gnash::newAdd
void newAdd(as_value &op1, const as_value &op2, const VM &vm)
Carry out ActionNewAdd.
Definition: VM.cpp:356