Gnash  0.8.11dev
TextSnapshot_as.h
Go to the documentation of this file.
1 // TextSnapshot_as.h: ActionScript 3 "TextSnapshot" class, for Gnash.
2 //
3 // Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 //
19 
20 #ifndef GNASH_ASOBJ3_TEXTSNAPSHOT_H
21 #define GNASH_ASOBJ3_TEXTSNAPSHOT_H
22 
23 namespace gnash {
24  class as_object;
25  struct ObjectURI;
26 }
27 
28 namespace gnash {
29 
30 void registerTextSnapshotNative(as_object& global);
31 
32 void textsnapshot_class_init(as_object& where, const ObjectURI& uri);
33 
34 } // gnash namespace
35 
36 // GNASH_ASOBJ3_TEXTSNAPSHOT_H
37 #endif
38 
39 // local Variables:
40 // mode: C++
41 // indent-tabs-mode: t
42 // End:
43 
gnash::toBool
bool toBool(const as_value &v, const VM &vm)
Convert an as_value to boolean type.
Definition: VM.cpp:445
gnash::toInt
std::int32_t toInt(const as_value &v, const VM &vm)
AS2-compatible conversion to 32bit integer.
Definition: VM.cpp:463
gnash::as_object
The base class for all ActionScript objects.
Definition: as_object.h:162
as_object.h
gnash::key::i
@ i
Definition: GnashKey.h:155
_
#define _(String)
Definition: log.h:44
gnash::VM
The AVM1 virtual machine.
Definition: VM.h:72
gnash
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
NativeFunction.h
start
@ start
Definition: klash_part.cpp:330
Global_as.h
StaticText.h
TextSnapshot_as.h
__FUNCTION__
#define __FUNCTION__
Definition: log.h:437
gnash::getGlobal
Global_as & getGlobal(const as_environment &env)
Definition: as_environment.cpp:651
gnash::twipsToPixels
double twipsToPixels(int i)
Definition: GnashNumeric.h:97
gnash::getVM
VM & getVM(const as_environment &env)
Definition: as_environment.h:222
ts
std::uint32_t ts
Definition: LocalConnection_as.cpp:150
TextRecord.h
UNUSED
#define UNUSED(x)
Definition: utility.h:113
gnash::NSV::PROP_PUSH
@ PROP_PUSH
Definition: namedStrings.h:88
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::renderer::opengl::for_each
void for_each(C &container, R(T::*pmf)(const A &), const A &arg)
Definition: Renderer_ogl.cpp:690
IF_VERBOSE_ASCODING_ERRORS
#define IF_VERBOSE_ASCODING_ERRORS(x)
Definition: log.h:397
gnash::VM::registerNative
void registerNative(as_c_function_ptr fun, unsigned int x, unsigned int y)
Definition: VM.cpp:268
RGBA.h
MovieClip.h
GnashNumeric.h
Font.h
gnash::log_aserror
void log_aserror(StringType msg, Args... args)
Definition: log.h:331
log.h
fn_call.h
gnash::registerTextSnapshotNative
void registerTextSnapshotNative(as_object &global)
Definition: TextSnapshot_as.cpp:406
gnash::image::end
pixel_iterator< T > end(GnashImage &im)
Definition: ImageIterators.h:198
namedStrings.h
gnash::registerBuiltinClass
as_object * registerBuiltinClass(as_object &where, Global_as::ASFunction ctor, Global_as::Properties p, Global_as::Properties c, const ObjectURI &uri)
Register a built-in class.
Definition: Global_as.h:144
test.uri
uri
Definition: test.py:12
gnash::key::o
@ o
Definition: GnashKey.h:161
gnash::getMatrix
const SWFMatrix & getMatrix(const DisplayObject &o)
Get local transform SWFMatrix for this DisplayObject.
Definition: DisplayObject.h:1119
DisplayList.h
gnash::log_unimpl
void log_unimpl(StringType msg, Args... args)
Definition: log.h:289
gnash::ObjectURI
A URI for describing as_objects.
Definition: ObjectURI.h:45
x
std::int32_t x
Definition: BitmapData_as.cpp:434
gnash::textsnapshot_class_init
void textsnapshot_class_init(as_object &where, const ObjectURI &uri)
Definition: TextSnapshot_as.cpp:143