make swfdec_as_object_mark() only mark if not marked yet
[swfdec.git] / swfdec / swfdec_text_renderer.c
blob4a709b5b67adbf2457b60d3c8e48003f597a494c
1 /* Swfdec
2 * Copyright (C) 2007 Pekka Lampila <pekka.lampila@iki.fi>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301 USA
20 #ifdef HAVE_CONFIG_H
21 #include "config.h"
22 #endif
24 #include "swfdec_as_internal.h"
25 #include "swfdec_debug.h"
27 SWFDEC_AS_NATIVE (2150, 1, swfdec_text_renderer_setAdvancedAntialiasingTable)
28 void
29 swfdec_text_renderer_setAdvancedAntialiasingTable (SwfdecAsContext *cx,
30 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
31 SwfdecAsValue *ret)
33 SWFDEC_STUB ("TextRenderer.setAdvancedAntialiasingTable (static)");
36 SWFDEC_AS_NATIVE (2150, 2, swfdec_text_renderer_get_antiAliasType)
37 void
38 swfdec_text_renderer_get_antiAliasType (SwfdecAsContext *cx,
39 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
40 SwfdecAsValue *ret)
42 SWFDEC_STUB ("TextRenderer.antiAliasType (static, get, not-really-named)");
45 SWFDEC_AS_NATIVE (2150, 3, swfdec_text_renderer_set_antiAliasType)
46 void
47 swfdec_text_renderer_set_antiAliasType (SwfdecAsContext *cx,
48 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
49 SwfdecAsValue *ret)
51 SWFDEC_STUB ("TextRenderer.antiAliasType (static, set, not-really-named)");
54 SWFDEC_AS_NATIVE (2150, 4, swfdec_text_renderer_get_maxLevel)
55 void
56 swfdec_text_renderer_get_maxLevel (SwfdecAsContext *cx, SwfdecAsObject *object,
57 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
59 SWFDEC_STUB ("TextRenderer.maxLevel (static, get)");
62 SWFDEC_AS_NATIVE (2150, 5, swfdec_text_renderer_set_maxLevel)
63 void
64 swfdec_text_renderer_set_maxLevel (SwfdecAsContext *cx, SwfdecAsObject *object,
65 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
67 SWFDEC_STUB ("TextRenderer.maxLevel (static, set)");
70 SWFDEC_AS_NATIVE (2150, 10, swfdec_text_renderer_get_displayMode)
71 void
72 swfdec_text_renderer_get_displayMode (SwfdecAsContext *cx,
73 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
74 SwfdecAsValue *ret)
76 SWFDEC_STUB ("TextRenderer.displayMode (static, get)");
79 SWFDEC_AS_NATIVE (2150, 11, swfdec_text_renderer_set_displayMode)
80 void
81 swfdec_text_renderer_set_displayMode (SwfdecAsContext *cx,
82 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
83 SwfdecAsValue *ret)
85 SWFDEC_STUB ("TextRenderer.displayMode (static, set)");
88 SWFDEC_AS_NATIVE (2150, 0, swfdec_text_renderer_construct)
89 void
90 swfdec_text_renderer_construct (SwfdecAsContext *cx, SwfdecAsObject *object,
91 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
93 SWFDEC_STUB ("TextRenderer");