texplay 0.2.7-x86-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +103 -0
- data/README.markdown +41 -0
- data/Rakefile +61 -0
- data/examples/common.rb +8 -0
- data/examples/example_alpha_blend.rb +31 -0
- data/examples/example_bezier.rb +42 -0
- data/examples/example_blur.rb +59 -0
- data/examples/example_color_control.rb +69 -0
- data/examples/example_color_transform.rb +29 -0
- data/examples/example_dup.rb +75 -0
- data/examples/example_each.rb +42 -0
- data/examples/example_effect.rb +35 -0
- data/examples/example_fill.rb +44 -0
- data/examples/example_fill_old.rb +49 -0
- data/examples/example_fluent.rb +31 -0
- data/examples/example_gen_eval.rb +34 -0
- data/examples/example_hash_arguments.rb +47 -0
- data/examples/example_lsystem.rb +61 -0
- data/examples/example_melt.rb +27 -0
- data/examples/example_polyline.rb +43 -0
- data/examples/example_scale.rb +29 -0
- data/examples/example_simple.rb +38 -0
- data/examples/example_splice.rb +33 -0
- data/examples/example_sync.rb +60 -0
- data/examples/example_turtle.rb +40 -0
- data/examples/media/empty2.png +0 -0
- data/examples/media/gosu.png +0 -0
- data/examples/media/logo.png +0 -0
- data/examples/media/maria.png +0 -0
- data/examples/media/rose.bmp +0 -0
- data/examples/media/sand1.png +0 -0
- data/examples/media/sunset.png +0 -0
- data/examples/media/texplay.png +0 -0
- data/ext/texplay/actions.c +1331 -0
- data/ext/texplay/actions.h +52 -0
- data/ext/texplay/bindings.c +1129 -0
- data/ext/texplay/bindings.h +46 -0
- data/ext/texplay/cache.c +135 -0
- data/ext/texplay/cache.h +24 -0
- data/ext/texplay/compat.h +27 -0
- data/ext/texplay/extconf.rb +30 -0
- data/ext/texplay/gen_eval.c +211 -0
- data/ext/texplay/gen_eval.h +20 -0
- data/ext/texplay/object2module.c +171 -0
- data/ext/texplay/object2module.h +11 -0
- data/ext/texplay/texplay.c +137 -0
- data/ext/texplay/texplay.h +107 -0
- data/ext/texplay/utils.c +978 -0
- data/ext/texplay/utils.h +145 -0
- data/lib/1.8/texplay.so +0 -0
- data/lib/1.9/texplay.so +0 -0
- data/lib/texplay-contrib.rb +171 -0
- data/lib/texplay.rb +134 -0
- metadata +114 -0
@@ -0,0 +1,52 @@
|
|
1
|
+
#ifndef GUARD_ACTIONS_H
|
2
|
+
#define GUARD_ACTIONS_H
|
3
|
+
|
4
|
+
|
5
|
+
/* lines */
|
6
|
+
void line_do_action(int, int, int, int, texture_info *, VALUE, sync, bool primary, action_struct * payload);
|
7
|
+
|
8
|
+
/* circles */
|
9
|
+
void circle_do_action(int, int, int, texture_info *, VALUE, sync, bool primary, action_struct * payload);
|
10
|
+
|
11
|
+
/* pixels */
|
12
|
+
void pixel_do_action(int, int, texture_info *, VALUE, sync, bool primary, action_struct * payload);
|
13
|
+
|
14
|
+
/* rectangles */
|
15
|
+
void rect_do_action(int x1, int y1, int x2, int y2, texture_info * tex, VALUE hash_arg,
|
16
|
+
sync sync_mode, bool primary, action_struct * payload);
|
17
|
+
|
18
|
+
/* flood fill */
|
19
|
+
void flood_fill_do_action(int x, int y, texture_info * tex, VALUE hash_arg, sync sync_mode, bool primary,
|
20
|
+
action_struct * payload);
|
21
|
+
|
22
|
+
/* glow fill */
|
23
|
+
void glow_fill_do_action(int x, int y, texture_info * tex, VALUE hash_arg, sync sync_mode, bool primary,
|
24
|
+
action_struct * payload);
|
25
|
+
|
26
|
+
/* scan fill */
|
27
|
+
void scan_fill_do_action(int x, int y, texture_info * tex, VALUE hash_arg,
|
28
|
+
sync sync_mode, bool primary, action_struct * payload);
|
29
|
+
|
30
|
+
/* polyline */
|
31
|
+
void polyline_do_action(VALUE points, texture_info * tex, VALUE hash_arg, sync sync_mode, bool primary,
|
32
|
+
action_struct * payload);
|
33
|
+
|
34
|
+
/* bezier */
|
35
|
+
void bezier_do_action(VALUE points, texture_info * tex, VALUE hash_arg, sync sync_mode, bool primary,
|
36
|
+
action_struct * payload);
|
37
|
+
|
38
|
+
/* ngon */
|
39
|
+
void ngon_do_action(int x, int y, int r, int num_sides, texture_info * tex, VALUE hash_arg,
|
40
|
+
sync sync_mode, bool primary, action_struct * payload);
|
41
|
+
|
42
|
+
|
43
|
+
/* splice */
|
44
|
+
void splice_do_action(int x0,int y0, int cx1, int cy1, int cx2, int cy2, texture_info * splice_tex,
|
45
|
+
texture_info * tex, VALUE hash_arg, sync sync_mode,
|
46
|
+
bool primary, action_struct * payload);
|
47
|
+
|
48
|
+
/* each iterator */
|
49
|
+
void each_pixel_do_action(int x1, int y1, int x2, int y2, VALUE proc, texture_info * tex, VALUE hash_arg,
|
50
|
+
sync sync_mode, bool primary, action_struct * payload);
|
51
|
+
|
52
|
+
#endif
|