make numbers garbage-collected objects
[swfdec.git] / swfdec / swfdec_gradient_filter.c
blobd32b113454a82936b3ac90573b8c3708ada0f59f
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 (1108, 1, swfdec_gradient_filter_get_distance)
28 void
29 swfdec_gradient_filter_get_distance (SwfdecAsContext *cx,
30 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
31 SwfdecAsValue *ret)
33 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter/GradientGlowFilter.distance (get)");
36 SWFDEC_AS_NATIVE (1108, 2, swfdec_gradient_filter_set_distance)
37 void
38 swfdec_gradient_filter_set_distance (SwfdecAsContext *cx,
39 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
40 SwfdecAsValue *ret)
42 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter/GradientGlowFilter.distance (set)");
45 SWFDEC_AS_NATIVE (1108, 3, swfdec_gradient_filter_get_angle)
46 void
47 swfdec_gradient_filter_get_angle (SwfdecAsContext *cx,
48 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
49 SwfdecAsValue *ret)
51 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.angle (get)");
54 SWFDEC_AS_NATIVE (1108, 4, swfdec_gradient_filter_set_angle)
55 void
56 swfdec_gradient_filter_set_angle (SwfdecAsContext *cx,
57 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
58 SwfdecAsValue *ret)
60 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.angle (set)");
63 SWFDEC_AS_NATIVE (1108, 5, swfdec_gradient_filter_get_colors)
64 void
65 swfdec_gradient_filter_get_colors (SwfdecAsContext *cx,
66 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
67 SwfdecAsValue *ret)
69 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.colors (get)");
72 SWFDEC_AS_NATIVE (1108, 6, swfdec_gradient_filter_set_colors)
73 void
74 swfdec_gradient_filter_set_colors (SwfdecAsContext *cx,
75 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
76 SwfdecAsValue *ret)
78 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.colors (set)");
81 SWFDEC_AS_NATIVE (1108, 7, swfdec_gradient_filter_get_alphas)
82 void
83 swfdec_gradient_filter_get_alphas (SwfdecAsContext *cx,
84 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
85 SwfdecAsValue *ret)
87 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.alphas (get)");
90 SWFDEC_AS_NATIVE (1108, 8, swfdec_gradient_filter_set_alphas)
91 void
92 swfdec_gradient_filter_set_alphas (SwfdecAsContext *cx,
93 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
94 SwfdecAsValue *ret)
96 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.alphas (set)");
99 SWFDEC_AS_NATIVE (1108, 9, swfdec_gradient_filter_get_ratios)
100 void
101 swfdec_gradient_filter_get_ratios (SwfdecAsContext *cx,
102 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
103 SwfdecAsValue *ret)
105 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.ratios (get)");
108 SWFDEC_AS_NATIVE (1108, 10, swfdec_gradient_filter_set_ratios)
109 void
110 swfdec_gradient_filter_set_ratios (SwfdecAsContext *cx,
111 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
112 SwfdecAsValue *ret)
114 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.ratios (set)");
117 SWFDEC_AS_NATIVE (1108, 11, swfdec_gradient_filter_get_blurX)
118 void
119 swfdec_gradient_filter_get_blurX (SwfdecAsContext *cx,
120 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
121 SwfdecAsValue *ret)
123 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.blurX (get)");
126 SWFDEC_AS_NATIVE (1108, 12, swfdec_gradient_filter_set_blurX)
127 void
128 swfdec_gradient_filter_set_blurX (SwfdecAsContext *cx,
129 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
130 SwfdecAsValue *ret)
132 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.blurX (set)");
135 SWFDEC_AS_NATIVE (1108, 13, swfdec_gradient_filter_get_blurY)
136 void
137 swfdec_gradient_filter_get_blurY (SwfdecAsContext *cx,
138 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
139 SwfdecAsValue *ret)
141 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.blurY (get)");
144 SWFDEC_AS_NATIVE (1108, 14, swfdec_gradient_filter_set_blurY)
145 void
146 swfdec_gradient_filter_set_blurY (SwfdecAsContext *cx,
147 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
148 SwfdecAsValue *ret)
150 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.blurY (set)");
153 SWFDEC_AS_NATIVE (1108, 15, swfdec_gradient_filter_get_quality)
154 void
155 swfdec_gradient_filter_get_quality (SwfdecAsContext *cx,
156 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
157 SwfdecAsValue *ret)
159 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.quality (get)");
162 SWFDEC_AS_NATIVE (1108, 16, swfdec_gradient_filter_set_quality)
163 void
164 swfdec_gradient_filter_set_quality (SwfdecAsContext *cx,
165 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
166 SwfdecAsValue *ret)
168 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.quality (set)");
171 SWFDEC_AS_NATIVE (1108, 17, swfdec_gradient_filter_get_strength)
172 void
173 swfdec_gradient_filter_get_strength (SwfdecAsContext *cx,
174 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
175 SwfdecAsValue *ret)
177 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.strength (get)");
180 SWFDEC_AS_NATIVE (1108, 18, swfdec_gradient_filter_set_strength)
181 void
182 swfdec_gradient_filter_set_strength (SwfdecAsContext *cx,
183 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
184 SwfdecAsValue *ret)
186 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.strength (set)");
189 SWFDEC_AS_NATIVE (1108, 19, swfdec_gradient_filter_get_knockout)
190 void
191 swfdec_gradient_filter_get_knockout (SwfdecAsContext *cx,
192 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
193 SwfdecAsValue *ret)
195 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.knockout (get)");
198 SWFDEC_AS_NATIVE (1108, 20, swfdec_gradient_filter_set_knockout)
199 void
200 swfdec_gradient_filter_set_knockout (SwfdecAsContext *cx,
201 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
202 SwfdecAsValue *ret)
204 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.knockout (set)");
207 SWFDEC_AS_NATIVE (1108, 21, swfdec_gradient_filter_get_type)
208 void
209 swfdec_gradient_filter_get_type (SwfdecAsContext *cx,
210 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
211 SwfdecAsValue *ret)
213 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.type (get)");
216 SWFDEC_AS_NATIVE (1108, 22, swfdec_gradient_filter_set_type)
217 void
218 swfdec_gradient_filter_set_type (SwfdecAsContext *cx,
219 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
220 SwfdecAsValue *ret)
222 SWFDEC_STUB ("GradientBevelFilter/GradientGlowFilter.type (set)");
225 // constructors
227 SWFDEC_AS_NATIVE (1108, 0, swfdec_gradient_glow_filter_construct)
228 void
229 swfdec_gradient_glow_filter_construct (SwfdecAsContext *cx,
230 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
231 SwfdecAsValue *ret)
233 SWFDEC_STUB ("GradientGlowFilter");
236 SWFDEC_AS_NATIVE (1108, 1000, swfdec_gradient_bevel_filter_construct)
237 void
238 swfdec_gradient_bevel_filter_construct (SwfdecAsContext *cx,
239 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
240 SwfdecAsValue *ret)
242 SWFDEC_STUB ("GradientBevelFilter");