summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavio Sena <savio.sena@acm.org>2014-09-20 04:43:28 -0300
committerSavio Sena <savio.sena@acm.org>2014-09-20 04:45:06 -0300
commitd90d23bdd605d3f07958ea22153f3ed056c90b6a (patch)
tree5ce9e0c113773c1c6efe2713cb8e9656d13540d8
parent095e9141b7f7823865a477ca9fb8f6463892da8d (diff)
Initial listing of remaining tests.
-rw-r--r--src/bin/Makefile.am211
-rw-r--r--src/bin/cxx/font_effect_blur_alpha.cc59
-rw-r--r--src/bin/cxx/font_effect_blur_alpha_capi.h30
-rw-r--r--src/bin/cxx/image_blend_many_smooth_same_scaled.cc107
-rw-r--r--src/bin/cxx/image_blend_many_smooth_same_scaled_capi.h30
-rw-r--r--src/bin/cxx/image_blend_nearest_same_scaled.cc106
-rw-r--r--src/bin/cxx/image_blend_nearest_same_scaled_capi.h30
-rw-r--r--src/bin/cxx/image_blend_nearest_scaled.cc106
-rw-r--r--src/bin/cxx/image_blend_nearest_scaled_capi.h30
-rw-r--r--src/bin/cxx/image_blend_nearest_solid_same_scaled.cc106
-rw-r--r--src/bin/cxx/image_blend_nearest_solid_same_scaled_capi.h30
-rw-r--r--src/bin/cxx/image_blend_nearest_solid_scaled.cc106
-rw-r--r--src/bin/cxx/image_blend_nearest_solid_scaled_capi.h30
-rw-r--r--src/bin/cxx/image_blend_occlude1.cc119
-rw-r--r--src/bin/cxx/image_blend_occlude1_capi.h30
-rw-r--r--src/bin/cxx/image_blend_occlude1_few.cc122
-rw-r--r--src/bin/cxx/image_blend_occlude1_few_capi.h30
-rw-r--r--src/bin/cxx/image_blend_occlude1_many.cc122
-rw-r--r--src/bin/cxx/image_blend_occlude1_many_capi.h30
-rw-r--r--src/bin/cxx/image_blend_occlude1_very_many.cc122
-rw-r--r--src/bin/cxx/image_blend_occlude1_very_many_capi.h30
-rw-r--r--src/bin/cxx/image_blend_occlude2.cc119
-rw-r--r--src/bin/cxx/image_blend_occlude2_capi.h30
-rw-r--r--src/bin/cxx/image_blend_occlude2_few.cc122
-rw-r--r--src/bin/cxx/image_blend_occlude2_few_capi.h30
-rw-r--r--src/bin/cxx/image_blend_occlude2_many.cc122
-rw-r--r--src/bin/cxx/image_blend_occlude2_many_capi.h30
-rw-r--r--src/bin/cxx/image_blend_occlude2_very_many.cc122
-rw-r--r--src/bin/cxx/image_blend_occlude2_very_many_capi.h30
-rw-r--r--src/bin/cxx/image_blend_occlude3.cc119
-rw-r--r--src/bin/cxx/image_blend_occlude3_capi.h30
-rw-r--r--src/bin/cxx/image_blend_occlude3_few.cc122
-rw-r--r--src/bin/cxx/image_blend_occlude3_few_capi.h30
-rw-r--r--src/bin/cxx/image_blend_occlude3_many.cc122
-rw-r--r--src/bin/cxx/image_blend_occlude3_many_capi.h30
-rw-r--r--src/bin/cxx/image_blend_occlude3_very_many.cc122
-rw-r--r--src/bin/cxx/image_blend_occlude3_very_many_capi.h30
-rw-r--r--src/bin/cxx/image_blend_occlude_capi.h30
-rw-r--r--src/bin/cxx/image_blend_smooth_same_scaled.cc106
-rw-r--r--src/bin/cxx/image_blend_smooth_same_scaled_capi.h30
-rw-r--r--src/bin/cxx/image_blend_smooth_scaled.cc106
-rw-r--r--src/bin/cxx/image_blend_smooth_scaled_capi.h30
-rw-r--r--src/bin/cxx/image_blend_smooth_solid_same_scaled.cc106
-rw-r--r--src/bin/cxx/image_blend_smooth_solid_same_scaled_capi.h30
-rw-r--r--src/bin/cxx/image_blend_smooth_solid_scaled.cc106
-rw-r--r--src/bin/cxx/image_blend_smooth_solid_scaled_capi.h30
-rw-r--r--src/bin/cxx/image_blend_solid_middle_border.cc107
-rw-r--r--src/bin/cxx/image_blend_solid_middle_border_capi.h30
-rw-r--r--src/bin/cxx/image_blend_solid_middle_unscaled.cc104
-rw-r--r--src/bin/cxx/image_blend_solid_middle_unscaled_capi.h30
-rw-r--r--src/bin/cxx/image_blend_unscaled.cc102
-rw-r--r--src/bin/cxx/image_blend_unscaled_capi.h30
-rw-r--r--src/bin/cxx/image_crossfade.cc102
-rw-r--r--src/bin/cxx/image_crossfade_capi.h30
-rw-r--r--src/bin/cxx/image_data_argb.cc125
-rw-r--r--src/bin/cxx/image_data_argb_alpha.cc136
-rw-r--r--src/bin/cxx/image_data_argb_alpha_capi.h30
-rw-r--r--src/bin/cxx/image_data_argb_capi.h30
-rw-r--r--src/bin/cxx/image_data_ycbcr601pl.cc143
-rw-r--r--src/bin/cxx/image_data_ycbcr601pl_capi.h30
-rw-r--r--src/bin/cxx/image_data_ycbcr601pl_map_nearest_solid_rotate.cc150
-rw-r--r--src/bin/cxx/image_data_ycbcr601pl_map_nearest_solid_rotate_capi.h30
-rw-r--r--src/bin/cxx/image_data_ycbcr601pl_map_solid_rotate.cc148
-rw-r--r--src/bin/cxx/image_data_ycbcr601pl_map_solid_rotate_capi.h30
-rw-r--r--src/bin/cxx/image_data_ycbcr601pl_wide_stride.cc180
-rw-r--r--src/bin/cxx/image_data_ycbcr601pl_wide_stride_capi.h30
-rw-r--r--src/bin/cxx/image_map_3d_1.cc263
-rw-r--r--src/bin/cxx/image_map_3d_1_capi.h30
-rw-r--r--src/bin/cxx/image_map_3d_2.cc261
-rw-r--r--src/bin/cxx/image_map_3d_2_capi.h30
-rw-r--r--src/bin/cxx/image_map_3d_3.cc255
-rw-r--r--src/bin/cxx/image_map_3d_3_capi.h30
-rw-r--r--src/bin/cxx/image_map_3d_4.cc253
-rw-r--r--src/bin/cxx/image_map_3d_4_capi.h30
-rw-r--r--src/bin/cxx/image_map_3d_5.cc243
-rw-r--r--src/bin/cxx/image_map_3d_5_capi.h30
-rw-r--r--src/bin/cxx/image_map_3d_6.cc240
-rw-r--r--src/bin/cxx/image_map_3d_6_capi.h30
-rw-r--r--src/bin/cxx/image_map_3d_flow.cc234
-rw-r--r--src/bin/cxx/image_map_3d_flow_capi.h30
-rw-r--r--src/bin/cxx/image_map_color_alpha_nearest_rotate.cc119
-rw-r--r--src/bin/cxx/image_map_color_alpha_nearest_rotate_capi.h30
-rw-r--r--src/bin/cxx/image_map_color_alpha_nearest_solid_rotate.cc119
-rw-r--r--src/bin/cxx/image_map_color_alpha_nearest_solid_rotate_capi.h30
-rw-r--r--src/bin/cxx/image_map_color_alpha_rotate.cc117
-rw-r--r--src/bin/cxx/image_map_color_alpha_rotate_capi.h30
-rw-r--r--src/bin/cxx/image_map_color_alpha_solid_rotate.cc116
-rw-r--r--src/bin/cxx/image_map_color_alpha_solid_rotate_capi.h30
-rw-r--r--src/bin/cxx/image_map_color_nearest_rotate.cc119
-rw-r--r--src/bin/cxx/image_map_color_nearest_rotate_capi.h30
-rw-r--r--src/bin/cxx/image_map_color_nearest_solid_rotate.cc119
-rw-r--r--src/bin/cxx/image_map_color_nearest_solid_rotate_capi.h30
-rw-r--r--src/bin/cxx/image_map_color_rotate.cc117
-rw-r--r--src/bin/cxx/image_map_color_rotate_capi.h30
-rw-r--r--src/bin/cxx/image_map_color_solid_rotate.cc117
-rw-r--r--src/bin/cxx/image_map_color_solid_rotate_capi.h30
-rw-r--r--src/bin/cxx/image_map_nearest_rotate.cc114
-rw-r--r--src/bin/cxx/image_map_nearest_rotate_capi.h30
-rw-r--r--src/bin/cxx/image_map_nearest_solid_rotate.cc114
-rw-r--r--src/bin/cxx/image_map_nearest_solid_rotate_capi.h30
-rw-r--r--src/bin/cxx/image_map_rotate.cc110
-rw-r--r--src/bin/cxx/image_map_rotate_capi.h30
-rw-r--r--src/bin/cxx/image_map_solid_rotate.cc112
-rw-r--r--src/bin/cxx/image_map_solid_rotate_capi.h30
-rw-r--r--src/bin/cxx/image_quality_scale.cc104
-rw-r--r--src/bin/cxx/image_quality_scale_capi.h30
-rw-r--r--src/bin/cxx/line_blend.cc143
-rw-r--r--src/bin/cxx/line_blend_capi.h30
-rw-r--r--src/bin/cxx/proxy_image.cc113
-rw-r--r--src/bin/cxx/proxy_image_capi.h30
-rw-r--r--src/bin/cxx/proxy_image_offscreen.cc114
-rw-r--r--src/bin/cxx/proxy_image_offscreen_capi.h30
-rw-r--r--src/bin/cxx/proxy_text_fixed.cc127
-rw-r--r--src/bin/cxx/proxy_text_fixed_capi.h30
-rw-r--r--src/bin/cxx/proxy_text_random.cc147
-rw-r--r--src/bin/cxx/proxy_text_random_capi.h30
-rw-r--r--src/bin/cxx/rect_blend.cc111
-rw-r--r--src/bin/cxx/rect_blend_capi.h30
-rw-r--r--src/bin/cxx/rect_blend_few.cc112
-rw-r--r--src/bin/cxx/rect_blend_few_capi.h30
-rw-r--r--src/bin/cxx/rect_blend_pow2.cc112
-rw-r--r--src/bin/cxx/rect_blend_pow2_capi.h30
-rw-r--r--src/bin/cxx/rect_blend_pow2_few.cc113
-rw-r--r--src/bin/cxx/rect_blend_pow2_few_capi.h30
-rw-r--r--src/bin/cxx/rect_solid.cc111
-rw-r--r--src/bin/cxx/rect_solid_capi.h30
-rw-r--r--src/bin/cxx/rect_solid_few.cc112
-rw-r--r--src/bin/cxx/rect_solid_few_capi.h30
-rw-r--r--src/bin/cxx/tests.h105
-rw-r--r--src/bin/cxx/text_basic.cc102
-rw-r--r--src/bin/cxx/text_basic_capi.h30
-rw-r--r--src/bin/cxx/text_change.cc125
-rw-r--r--src/bin/cxx/text_change_capi.h30
-rw-r--r--src/bin/cxx/text_styles.cc112
-rw-r--r--src/bin/cxx/text_styles_capi.h30
-rw-r--r--src/bin/cxx/text_styles_different_strings.cc123
-rw-r--r--src/bin/cxx/text_styles_different_strings_capi.h30
-rw-r--r--src/bin/cxx/textblock_auto_align.cc126
-rw-r--r--src/bin/cxx/textblock_auto_align_capi.h30
-rw-r--r--src/bin/cxx/textblock_basic.cc189
-rw-r--r--src/bin/cxx/textblock_basic_capi.h30
-rw-r--r--src/bin/cxx/textblock_intl.cc159
-rw-r--r--src/bin/cxx/textblock_intl_capi.h30
-rw-r--r--src/bin/cxx/textblock_text_append.cc175
-rw-r--r--src/bin/cxx/textblock_text_append_capi.h30
-rw-r--r--src/bin/cxx/widgets__*_capi.h30
-rw-r--r--src/bin/cxx/widgets_file_icons.cc142
-rw-r--r--src/bin/cxx/widgets_file_icons_2.cc140
-rw-r--r--src/bin/cxx/widgets_file_icons_2_capi.h31
-rw-r--r--src/bin/cxx/widgets_file_icons_2_grouped.cc149
-rw-r--r--src/bin/cxx/widgets_file_icons_2_grouped_capi.h31
-rw-r--r--src/bin/cxx/widgets_file_icons_2_same.cc125
-rw-r--r--src/bin/cxx/widgets_file_icons_2_same_capi.h31
-rw-r--r--src/bin/cxx/widgets_file_icons_2_same_grouped.cc129
-rw-r--r--src/bin/cxx/widgets_file_icons_2_same_grouped_capi.h31
-rw-r--r--src/bin/cxx/widgets_file_icons_3.cc140
-rw-r--r--src/bin/cxx/widgets_file_icons_3_capi.h31
-rw-r--r--src/bin/cxx/widgets_file_icons_4.cc140
-rw-r--r--src/bin/cxx/widgets_file_icons_4_capi.h31
-rw-r--r--src/bin/cxx/widgets_file_icons_capi.h31
-rw-r--r--src/bin/cxx/widgets_list_1.cc152
-rw-r--r--src/bin/cxx/widgets_list_1_capi.h31
-rw-r--r--src/bin/cxx/widgets_list_1_grouped.cc160
-rw-r--r--src/bin/cxx/widgets_list_1_grouped_capi.h31
-rw-r--r--src/bin/cxx/widgets_list_2.cc152
-rw-r--r--src/bin/cxx/widgets_list_2_capi.h31
-rw-r--r--src/bin/cxx/widgets_list_2_grouped.cc160
-rw-r--r--src/bin/cxx/widgets_list_2_grouped_capi.h31
-rw-r--r--src/bin/cxx/widgets_list_3.cc183
-rw-r--r--src/bin/cxx/widgets_list_3_capi.h31
-rw-r--r--src/bin/cxx/widgets_list_3_grouped.cc200
-rw-r--r--src/bin/cxx/widgets_list_3_grouped_capi.h31
-rw-r--r--src/bin/cxx/widgets_list_4.cc180
-rw-r--r--src/bin/cxx/widgets_list_4_capi.h31
-rw-r--r--src/bin/cxx/widgets_list_4_grouped.cc199
-rw-r--r--src/bin/cxx/widgets_list_4_grouped_capi.h31
-rw-r--r--src/bin/tests.h19
177 files changed, 14748 insertions, 31 deletions
diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am
index c7c6ee4..c732326 100644
--- a/src/bin/Makefile.am
+++ b/src/bin/Makefile.am
@@ -13,6 +13,198 @@ AM_CPPFLAGS = \
13bin_PROGRAMS = expedite 13bin_PROGRAMS = expedite
14bin_SCRIPTS = expedite-cmp 14bin_SCRIPTS = expedite-cmp
15 15
16cxx_sources = \
17cxx/font_effect_blur_alpha.cc \
18cxx/font_effect_blur_alpha_capi.h \
19cxx/image_blend_border.cc \
20cxx/image_blend_border_capi.h \
21cxx/image_blend_border_recolor.cc \
22cxx/image_blend_border_recolor_capi.h \
23cxx/image_blend_fade_pow2_unscaled.cc \
24cxx/image_blend_fade_pow2_unscaled_capi.h \
25cxx/image_blend_fade_unscaled.cc \
26cxx/image_blend_fade_unscaled_capi.h \
27cxx/image_blend_many_smooth_same_scaled.cc \
28cxx/image_blend_many_smooth_same_scaled_capi.h \
29cxx/image_blend_nearest_same_scaled.cc \
30cxx/image_blend_nearest_same_scaled_capi.h \
31cxx/image_blend_nearest_scaled.cc \
32cxx/image_blend_nearest_scaled_capi.h \
33cxx/image_blend_nearest_solid_same_scaled.cc \
34cxx/image_blend_nearest_solid_same_scaled_capi.h \
35cxx/image_blend_nearest_solid_scaled.cc \
36cxx/image_blend_nearest_solid_scaled_capi.h \
37cxx/image_blend_occlude1.cc \
38cxx/image_blend_occlude1_capi.h \
39cxx/image_blend_occlude1_few.cc \
40cxx/image_blend_occlude1_few_capi.h \
41cxx/image_blend_occlude1_many.cc \
42cxx/image_blend_occlude1_many_capi.h \
43cxx/image_blend_occlude1_very_many.cc \
44cxx/image_blend_occlude1_very_many_capi.h \
45cxx/image_blend_occlude2.cc \
46cxx/image_blend_occlude2_capi.h \
47cxx/image_blend_occlude2_few.cc \
48cxx/image_blend_occlude2_few_capi.h \
49cxx/image_blend_occlude2_many.cc \
50cxx/image_blend_occlude2_many_capi.h \
51cxx/image_blend_occlude2_very_many.cc \
52cxx/image_blend_occlude2_very_many_capi.h \
53cxx/image_blend_occlude3.cc \
54cxx/image_blend_occlude3_capi.h \
55cxx/image_blend_occlude3_few.cc \
56cxx/image_blend_occlude3_few_capi.h \
57cxx/image_blend_occlude3_many.cc \
58cxx/image_blend_occlude3_many_capi.h \
59cxx/image_blend_occlude3_very_many.cc \
60cxx/image_blend_occlude3_very_many_capi.h \
61cxx/image_blend_occlude_capi.h \
62cxx/image_blend_smooth_same_scaled.cc \
63cxx/image_blend_smooth_same_scaled_capi.h \
64cxx/image_blend_smooth_scaled.cc \
65cxx/image_blend_smooth_scaled_capi.h \
66cxx/image_blend_smooth_solid_same_scaled.cc \
67cxx/image_blend_smooth_solid_same_scaled_capi.h \
68cxx/image_blend_smooth_solid_scaled.cc \
69cxx/image_blend_smooth_solid_scaled_capi.h \
70cxx/image_blend_solid_border.cc \
71cxx/image_blend_solid_border_capi.h \
72cxx/image_blend_solid_fade_pow2_unscaled.cc \
73cxx/image_blend_solid_fade_pow2_unscaled_capi.h \
74cxx/image_blend_solid_fade_unscaled.cc \
75cxx/image_blend_solid_fade_unscaled_capi.h \
76cxx/image_blend_solid_middle_border.cc \
77cxx/image_blend_solid_middle_border_capi.h \
78cxx/image_blend_solid_middle_unscaled.cc \
79cxx/image_blend_solid_middle_unscaled_capi.h \
80cxx/image_blend_solid_unscaled.cc \
81cxx/image_blend_solid_unscaled_capi.h \
82cxx/image_blend_unscaled.cc \
83cxx/image_blend_unscaled_capi.h \
84cxx/image_crossfade.cc \
85cxx/image_crossfade_capi.h \
86cxx/image_data_argb.cc \
87cxx/image_data_argb_alpha.cc \
88cxx/image_data_argb_alpha_capi.h \
89cxx/image_data_argb_capi.h \
90cxx/image_data_ycbcr601pl.cc \
91cxx/image_data_ycbcr601pl_capi.h \
92cxx/image_data_ycbcr601pl_map_nearest_solid_rotate.cc \
93cxx/image_data_ycbcr601pl_map_nearest_solid_rotate_capi.h \
94cxx/image_data_ycbcr601pl_map_solid_rotate.cc \
95cxx/image_data_ycbcr601pl_map_solid_rotate_capi.h \
96cxx/image_data_ycbcr601pl_wide_stride.cc \
97cxx/image_data_ycbcr601pl_wide_stride_capi.h \
98cxx/image_map_3d_1.cc \
99cxx/image_map_3d_1_capi.h \
100cxx/image_map_3d_2.cc \
101cxx/image_map_3d_2_capi.h \
102cxx/image_map_3d_3.cc \
103cxx/image_map_3d_3_capi.h \
104cxx/image_map_3d_4.cc \
105cxx/image_map_3d_4_capi.h \
106cxx/image_map_3d_5.cc \
107cxx/image_map_3d_5_capi.h \
108cxx/image_map_3d_6.cc \
109cxx/image_map_3d_6_capi.h \
110cxx/image_map_3d_flow.cc \
111cxx/image_map_3d_flow_capi.h \
112cxx/image_map_color_alpha_nearest_rotate.cc \
113cxx/image_map_color_alpha_nearest_rotate_capi.h \
114cxx/image_map_color_alpha_nearest_solid_rotate.cc \
115cxx/image_map_color_alpha_nearest_solid_rotate_capi.h \
116cxx/image_map_color_alpha_rotate.cc \
117cxx/image_map_color_alpha_rotate_capi.h \
118cxx/image_map_color_alpha_solid_rotate.cc \
119cxx/image_map_color_alpha_solid_rotate_capi.h \
120cxx/image_map_color_nearest_rotate.cc \
121cxx/image_map_color_nearest_rotate_capi.h \
122cxx/image_map_color_nearest_solid_rotate.cc \
123cxx/image_map_color_nearest_solid_rotate_capi.h \
124cxx/image_map_color_rotate.cc \
125cxx/image_map_color_rotate_capi.h \
126cxx/image_map_color_solid_rotate.cc \
127cxx/image_map_color_solid_rotate_capi.h \
128cxx/image_map_nearest_rotate.cc \
129cxx/image_map_nearest_rotate_capi.h \
130cxx/image_map_nearest_solid_rotate.cc \
131cxx/image_map_nearest_solid_rotate_capi.h \
132cxx/image_map_rotate.cc \
133cxx/image_map_rotate_capi.h \
134cxx/image_map_solid_rotate.cc \
135cxx/image_map_solid_rotate_capi.h \
136cxx/image_quality_scale.cc \
137cxx/image_quality_scale_capi.h \
138cxx/line_blend.cc \
139cxx/line_blend_capi.h \
140cxx/proxy_image.cc \
141cxx/proxy_image_capi.h \
142cxx/proxy_image_offscreen.cc \
143cxx/proxy_image_offscreen_capi.h \
144cxx/proxy_text_fixed.cc \
145cxx/proxy_text_fixed_capi.h \
146cxx/proxy_text_random.cc \
147cxx/proxy_text_random_capi.h \
148cxx/rect_blend.cc \
149cxx/rect_blend_capi.h \
150cxx/rect_blend_few.cc \
151cxx/rect_blend_few_capi.h \
152cxx/rect_blend_pow2.cc \
153cxx/rect_blend_pow2_capi.h \
154cxx/rect_blend_pow2_few.cc \
155cxx/rect_blend_pow2_few_capi.h \
156cxx/rect_solid.cc \
157cxx/rect_solid_capi.h \
158cxx/rect_solid_few.cc \
159cxx/rect_solid_few_capi.h \
160cxx/text_basic.cc \
161cxx/text_basic_capi.h \
162cxx/text_change.cc \
163cxx/text_change_capi.h \
164cxx/text_styles.cc \
165cxx/text_styles_capi.h \
166cxx/text_styles_different_strings.cc \
167cxx/text_styles_different_strings_capi.h \
168cxx/textblock_auto_align.cc \
169cxx/textblock_auto_align_capi.h \
170cxx/textblock_basic.cc \
171cxx/textblock_basic_capi.h \
172cxx/textblock_intl.cc \
173cxx/textblock_intl_capi.h \
174cxx/textblock_text_append.cc \
175cxx/textblock_text_append_capi.h \
176cxx/widgets__*_capi.h \
177cxx/widgets_file_icons.cc \
178cxx/widgets_file_icons_2.cc \
179cxx/widgets_file_icons_2_capi.h \
180cxx/widgets_file_icons_2_grouped.cc \
181cxx/widgets_file_icons_2_grouped_capi.h \
182cxx/widgets_file_icons_2_same.cc \
183cxx/widgets_file_icons_2_same_capi.h \
184cxx/widgets_file_icons_2_same_grouped.cc \
185cxx/widgets_file_icons_2_same_grouped_capi.h \
186cxx/widgets_file_icons_3.cc \
187cxx/widgets_file_icons_3_capi.h \
188cxx/widgets_file_icons_4.cc \
189cxx/widgets_file_icons_4_capi.h \
190cxx/widgets_file_icons_capi.h \
191cxx/widgets_list_1.cc \
192cxx/widgets_list_1_capi.h \
193cxx/widgets_list_1_grouped.cc \
194cxx/widgets_list_1_grouped_capi.h \
195cxx/widgets_list_2.cc \
196cxx/widgets_list_2_capi.h \
197cxx/widgets_list_2_grouped.cc \
198cxx/widgets_list_2_grouped_capi.h \
199cxx/widgets_list_3.cc \
200cxx/widgets_list_3_capi.h \
201cxx/widgets_list_3_grouped.cc \
202cxx/widgets_list_3_grouped_capi.h \
203cxx/widgets_list_4.cc \
204cxx/widgets_list_4_capi.h \
205cxx/widgets_list_4_grouped.cc \
206cxx/widgets_list_4_grouped_capi.h
207
16expedite_SOURCES = \ 208expedite_SOURCES = \
17main.c main.h \ 209main.c main.h \
18ui.c ui.h \ 210ui.c ui.h \
@@ -36,20 +228,10 @@ widgets_list_4_grouped.c \
36image_blend_unscaled.c \ 228image_blend_unscaled.c \
37image_blend_solid_middle_unscaled.c \ 229image_blend_solid_middle_unscaled.c \
38image_blend_fade_unscaled.c \ 230image_blend_fade_unscaled.c \
39cxx/image_blend_fade_unscaled.cc \
40cxx/image_blend_fade_unscaled_capi.h \
41image_blend_fade_pow2_unscaled.c \ 231image_blend_fade_pow2_unscaled.c \
42cxx/image_blend_fade_pow2_unscaled.cc \
43cxx/image_blend_fade_pow2_unscaled_capi.h \
44image_blend_solid_unscaled.c \ 232image_blend_solid_unscaled.c \
45cxx/image_blend_solid_unscaled.cc \
46cxx/image_blend_solid_unscaled_capi.h \
47image_blend_solid_fade_unscaled.c \ 233image_blend_solid_fade_unscaled.c \
48cxx/image_blend_solid_fade_unscaled.cc \
49cxx/image_blend_solid_fade_unscaled_capi.h \
50image_blend_solid_fade_pow2_unscaled.c \ 234image_blend_solid_fade_pow2_unscaled.c \
51cxx/image_blend_solid_fade_pow2_unscaled.cc \
52cxx/image_blend_solid_fade_pow2_unscaled_capi.h \
53image_blend_nearest_scaled.c \ 235image_blend_nearest_scaled.c \
54image_blend_nearest_solid_scaled.c \ 236image_blend_nearest_solid_scaled.c \
55image_blend_smooth_scaled.c \ 237image_blend_smooth_scaled.c \
@@ -59,15 +241,9 @@ image_blend_nearest_solid_same_scaled.c \
59image_blend_smooth_same_scaled.c \ 241image_blend_smooth_same_scaled.c \
60image_blend_smooth_solid_same_scaled.c \ 242image_blend_smooth_solid_same_scaled.c \
61image_blend_border.c \ 243image_blend_border.c \
62cxx/image_blend_border.cc \
63cxx/image_blend_border_capi.h \
64image_blend_border_recolor.c \ 244image_blend_border_recolor.c \
65cxx/image_blend_border_recolor.cc \
66cxx/image_blend_border_recolor_capi.h \
67image_blend_solid_middle_border.c \ 245image_blend_solid_middle_border.c \
68image_blend_solid_border.c \ 246image_blend_solid_border.c \
69cxx/image_blend_solid_border.cc \
70cxx/image_blend_solid_border_acpi.h \
71image_map_rotate.c \ 247image_map_rotate.c \
72image_map_solid_rotate.c \ 248image_map_solid_rotate.c \
73image_map_nearest_rotate.c \ 249image_map_nearest_rotate.c \
@@ -128,7 +304,8 @@ proxy_text_random.c \
128line_blend.c \ 304line_blend.c \
129image_blend_many_smooth_same_scaled.c \ 305image_blend_many_smooth_same_scaled.c \
130font_effect_blur_alpha.c \ 306font_effect_blur_alpha.c \
131font_effect_blur_color.c 307font_effect_blur_color.c \
308${cxx_sources}
132# \ 309# \
133# image_mask.c \ 310# image_mask.c \
134# image_mask_2.c \ 311# image_mask_2.c \
diff --git a/src/bin/cxx/font_effect_blur_alpha.cc b/src/bin/cxx/font_effect_blur_alpha.cc
new file mode 100644
index 0000000..0f3cd79
--- /dev/null
+++ b/src/bin/cxx/font_effect_blur_alpha.cc
@@ -0,0 +1,59 @@
1# include "main.h"
2
3#include "ui.h"
4
5
6/* standard var */
7static int done = 0;
8extern int win_w, win_h;
9/* private data */
10static Evas_Object *text;
11static const int MAX_BLUR = 100;
12
13/* setup */
14static void _setup(void)
15{
16
17 Evas_Object *o;
18 int w,h;
19
20 o = evas_object_text_add(G_evas);
21 evas_object_color_set(o, 0, 0, 0, 255);
22 evas_object_text_font_set(o, "Vera-Bold", 80);
23 evas_object_text_text_set(o, "Font Effect");
24 evas_object_show(o);
25 evas_object_geometry_get(o, NULL, NULL, &w, &h);
26 evas_object_move(o, (win_w / 2) - (w / 2) - MAX_BLUR, (win_h / 2) - (h / 2) - MAX_BLUR);
27 text = o;
28
29 done = 0;
30}
31
32/* cleanup */
33static void _cleanup(void)
34{
35 evas_object_del(text);
36}
37
38/* loop - do things */
39static void _loop(double t, int f)
40{
41 char buf[256];
42 char *str = "padding_set(%d);blur(%d,color=black);";
43 sprintf(buf, str, MAX_BLUR, ((f % MAX_BLUR) + 1));
44 eo_do(text, evas_obj_text_filter_program_set(buf));
45
46 FPS_STD(NAME);
47}
48
49/* prepend special key handlers if interactive (before STD) */
50static void _key(char *key)
51{
52 KEY_STD;
53}
54
55void FNAME(void)
56{
57 ui_func_set(_key, _loop);
58 _setup();
59}
diff --git a/src/bin/cxx/font_effect_blur_alpha_capi.h b/src/bin/cxx/font_effect_blur_alpha_capi.h
new file mode 100644
index 0000000..0dc4ece
--- /dev/null
+++ b/src/bin/cxx/font_effect_blur_alpha_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME font_effect_blur_alpha_cxx_start
11#define NAME "Font Effect Blur (Alpha)"
12#define ICON "text.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_many_smooth_same_scaled.cc b/src/bin/cxx/image_blend_many_smooth_same_scaled.cc
new file mode 100644
index 0000000..2695b8f
--- /dev/null
+++ b/src/bin/cxx/image_blend_many_smooth_same_scaled.cc
@@ -0,0 +1,107 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_many_smooth_down_scaled_start
7#define NAME "Image Blend Many Smooth Down Scaled"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14#define MANYNUM 8192
15
16/* standard var */
17static int done = 0;
18/* private data */
19static Evas_Object *o_images[MANYNUM];
20
21/* setup */
22static void _setup(void)
23{
24 int i, w, h, n;
25 Evas_Object *o;
26 for (i = 0; i < MANYNUM; i++)
27 {
28 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
29 o_images[i] = o;
30 n = rnd() % 100;
31 w = 3 + ((n * (60 - 3)) / 100);
32 h = 4 + ((n * (80 - 4)) / 100);
33 eo_do(o,
34 efl_file_set(build_path("logo.png"), NULL),
35 efl_image_smooth_scale_set(1),
36 evas_obj_size_set(w, h),
37 evas_obj_image_fill_set(0, 0, w, h),
38 evas_obj_visibility_set(EINA_TRUE));
39 }
40 done = 0;
41}
42
43/* cleanup */
44static void _cleanup(void)
45{
46 int i;
47 for (i = 0; i < MANYNUM; i++) eo_del(o_images[i]);
48}
49
50/* loop - do things */
51static void _loop(double t, int f)
52{
53 int i;
54 Evas_Coord x, y, w, h;
55 for (i = 0; i < MANYNUM; i++)
56 {
57 eo_do(o_images[i], evas_obj_size_get(&w, &h));
58 x = (win_w / 2) - (w / 2);
59 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (win_w / 2);
60 y = (win_h / 2) - (h / 2);
61 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (win_h / 2);
62 eo_do(o_images[i], evas_obj_position_set(x, y));
63 }
64 FPS_STD(NAME);
65}
66
67/* prepend special key handlers if interactive (before STD) */
68static void _key(char *key)
69{
70 KEY_STD;
71}
72
73
74
75
76
77
78
79
80
81
82
83
84/* template stuff - ignore */
85# endif
86#endif
87
88#ifdef UI
89_ui_menu_item_add(ICON, NAME, FNAME);
90#endif
91
92#ifdef PROTO
93void FNAME(void);
94#endif
95
96#ifndef PROTO
97# ifndef UI
98void FNAME(void)
99{
100 ui_func_set(_key, _loop);
101 _setup();
102}
103# endif
104#endif
105#undef FNAME
106#undef NAME
107#undef ICON
diff --git a/src/bin/cxx/image_blend_many_smooth_same_scaled_capi.h b/src/bin/cxx/image_blend_many_smooth_same_scaled_capi.h
new file mode 100644
index 0000000..0fce8c7
--- /dev/null
+++ b/src/bin/cxx/image_blend_many_smooth_same_scaled_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_many_smooth_same_scaled_cxx_start
11#define NAME "Image Blend Many Smooth Down Scaled"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_nearest_same_scaled.cc b/src/bin/cxx/image_blend_nearest_same_scaled.cc
new file mode 100644
index 0000000..2845b0e
--- /dev/null
+++ b/src/bin/cxx/image_blend_nearest_same_scaled.cc
@@ -0,0 +1,106 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_nearest_same_scaled_start
7#define NAME "Image Blend Nearest Same Scaled"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14/* standard var */
15static int done = 0;
16/* private data */
17static Evas_Object *o_images[OBNUM];
18
19/* setup */
20static void _setup(void)
21{
22 int i;
23 Evas_Object *o;
24 for (i = 0; i < OBNUM; i++)
25 {
26 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
27 o_images[i] = o;
28 eo_do(o,
29 efl_file_set(build_path("logo.png"), NULL),
30 efl_image_smooth_scale_set(0),
31 evas_obj_visibility_set(EINA_TRUE));
32 }
33 done = 0;
34}
35
36/* cleanup */
37static void _cleanup(void)
38{
39 int i;
40 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
41}
42
43/* loop - do things */
44static void _loop(double t, int f)
45{
46 int i;
47 Evas_Coord x, y, w, h, w0, h0;
48 for (i = 0; i < OBNUM; i++)
49 {
50 w0 = 80;
51 h0 = 80;
52 w = 40 + ((i % 3) * (w0 / 2));
53 h = 40 + ((i % 3) * (h0 / 2));
54 x = (win_w / 2) - (w / 2);
55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
56 y = (win_h / 2) - (h / 2);
57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
58 eo_do(o_images[i],
59 evas_obj_position_set(x, y),
60 evas_obj_size_set(w, h),
61 evas_obj_image_fill_set(0, 0, w, h));
62 }
63 FPS_STD(NAME);
64}
65
66/* prepend special key handlers if interactive (before STD) */
67static void _key(char *key)
68{
69 KEY_STD;
70}
71
72
73
74
75
76
77
78
79
80
81
82
83/* template stuff - ignore */
84# endif
85#endif
86
87#ifdef UI
88_ui_menu_item_add(ICON, NAME, FNAME);
89#endif
90
91#ifdef PROTO
92void FNAME(void);
93#endif
94
95#ifndef PROTO
96# ifndef UI
97void FNAME(void)
98{
99 ui_func_set(_key, _loop);
100 _setup();
101}
102# endif
103#endif
104#undef FNAME
105#undef NAME
106#undef ICON
diff --git a/src/bin/cxx/image_blend_nearest_same_scaled_capi.h b/src/bin/cxx/image_blend_nearest_same_scaled_capi.h
new file mode 100644
index 0000000..81ea14f
--- /dev/null
+++ b/src/bin/cxx/image_blend_nearest_same_scaled_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_nearest_same_scaled_cxx_start
11#define NAME "Image Blend Nearest Same Scaled"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_nearest_scaled.cc b/src/bin/cxx/image_blend_nearest_scaled.cc
new file mode 100644
index 0000000..9255a84
--- /dev/null
+++ b/src/bin/cxx/image_blend_nearest_scaled.cc
@@ -0,0 +1,106 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_nearest_scaled_start
7#define NAME "Image Blend Nearest Scaled"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14/* standard var */
15static int done = 0;
16/* private data */
17static Evas_Object *o_images[OBNUM];
18
19/* setup */
20static void _setup(void)
21{
22 int i;
23 Evas_Object *o;
24 for (i = 0; i < OBNUM; i++)
25 {
26 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
27 o_images[i] = o;
28 eo_do(o,
29 efl_file_set(build_path("logo.png"), NULL),
30 efl_image_smooth_scale_set(0),
31 evas_obj_visibility_set(EINA_TRUE));
32 }
33 done = 0;
34}
35
36/* cleanup */
37static void _cleanup(void)
38{
39 int i;
40 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
41}
42
43/* loop - do things */
44static void _loop(double t, int f)
45{
46 int i;
47 Evas_Coord x, y, w, h, w0, h0;
48 for (i = 0; i < OBNUM; i++)
49 {
50 w0 = 80;
51 h0 = 80;
52 w = 5 + ((1.0 + cos((double)(f + (i * 10)) / (7.4 * SLOW) )) * w0 * 2);
53 h = 5 + ((1.0 + sin((double)(f + (i * 19)) / (12.6 * SLOW) )) * h0 * 2);
54 x = (win_w / 2) - (w / 2);
55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
56 y = (win_h / 2) - (h / 2);
57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
58 eo_do(o_images[i],
59 evas_obj_position_set(x, y),
60 evas_obj_size_set(w, h),
61 evas_obj_image_fill_set(0, 0, w, h));
62 }
63 FPS_STD(NAME);
64}
65
66/* prepend special key handlers if interactive (before STD) */
67static void _key(char *key)
68{
69 KEY_STD;
70}
71
72
73
74
75
76
77
78
79
80
81
82
83/* template stuff - ignore */
84# endif
85#endif
86
87#ifdef UI
88_ui_menu_item_add(ICON, NAME, FNAME);
89#endif
90
91#ifdef PROTO
92void FNAME(void);
93#endif
94
95#ifndef PROTO
96# ifndef UI
97void FNAME(void)
98{
99 ui_func_set(_key, _loop);
100 _setup();
101}
102# endif
103#endif
104#undef FNAME
105#undef NAME
106#undef ICON
diff --git a/src/bin/cxx/image_blend_nearest_scaled_capi.h b/src/bin/cxx/image_blend_nearest_scaled_capi.h
new file mode 100644
index 0000000..063b30d
--- /dev/null
+++ b/src/bin/cxx/image_blend_nearest_scaled_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_nearest_scaled_cxx_start
11#define NAME "Image Blend Nearest Scaled"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_nearest_solid_same_scaled.cc b/src/bin/cxx/image_blend_nearest_solid_same_scaled.cc
new file mode 100644
index 0000000..7b31fbc
--- /dev/null
+++ b/src/bin/cxx/image_blend_nearest_solid_same_scaled.cc
@@ -0,0 +1,106 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_nearest_solid_same_scaled_start
7#define NAME "Image Blend Nearest Solid Same Scaled"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14/* standard var */
15static int done = 0;
16/* private data */
17static Evas_Object *o_images[OBNUM];
18
19/* setup */
20static void _setup(void)
21{
22 int i;
23 Evas_Object *o;
24 for (i = 0; i < OBNUM; i++)
25 {
26 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
27 o_images[i] = o;
28 eo_do(o,
29 efl_file_set(build_path("image.png"), NULL),
30 efl_image_smooth_scale_set(0),
31 evas_obj_visibility_set(EINA_TRUE));
32 }
33 done = 0;
34}
35
36/* cleanup */
37static void _cleanup(void)
38{
39 int i;
40 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
41}
42
43/* loop - do things */
44static void _loop(double t, int f)
45{
46 int i;
47 Evas_Coord x, y, w, h, w0, h0;
48 for (i = 0; i < OBNUM; i++)
49 {
50 w0 = 80;
51 h0 = 80;
52 w = 40 + ((i % 3) * (w0 / 2));
53 h = 40 + ((i % 3) * (h0 / 2));
54 x = (win_w / 2) - (w / 2);
55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
56 y = (win_h / 2) - (h / 2);
57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
58 eo_do(o_images[i],
59 evas_obj_position_set(x, y),
60 evas_obj_size_set(w, h),
61 evas_obj_image_fill_set(0, 0, w, h));
62 }
63 FPS_STD(NAME);
64}
65
66/* prepend special key handlers if interactive (before STD) */
67static void _key(char *key)
68{
69 KEY_STD;
70}
71
72
73
74
75
76
77
78
79
80
81
82
83/* template stuff - ignore */
84# endif
85#endif
86
87#ifdef UI
88_ui_menu_item_add(ICON, NAME, FNAME);
89#endif
90
91#ifdef PROTO
92void FNAME(void);
93#endif
94
95#ifndef PROTO
96# ifndef UI
97void FNAME(void)
98{
99 ui_func_set(_key, _loop);
100 _setup();
101}
102# endif
103#endif
104#undef FNAME
105#undef NAME
106#undef ICON
diff --git a/src/bin/cxx/image_blend_nearest_solid_same_scaled_capi.h b/src/bin/cxx/image_blend_nearest_solid_same_scaled_capi.h
new file mode 100644
index 0000000..d3c5264
--- /dev/null
+++ b/src/bin/cxx/image_blend_nearest_solid_same_scaled_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_nearest_solid_same_scaled_cxx_start
11#define NAME "Image Blend Nearest Solid Same Scaled"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_nearest_solid_scaled.cc b/src/bin/cxx/image_blend_nearest_solid_scaled.cc
new file mode 100644
index 0000000..a990f84
--- /dev/null
+++ b/src/bin/cxx/image_blend_nearest_solid_scaled.cc
@@ -0,0 +1,106 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_nearest_solid_scaled_start
7#define NAME "Image Blend Nearest Solid Scaled"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14/* standard var */
15static int done = 0;
16/* private data */
17static Evas_Object *o_images[OBNUM];
18
19/* setup */
20static void _setup(void)
21{
22 int i;
23 Evas_Object *o;
24 for (i = 0; i < OBNUM; i++)
25 {
26 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
27 o_images[i] = o;
28 eo_do(o,
29 efl_file_set(build_path("image.png"), NULL),
30 efl_image_smooth_scale_set(0),
31 evas_obj_visibility_set(EINA_TRUE));
32 }
33 done = 0;
34}
35
36/* cleanup */
37static void _cleanup(void)
38{
39 int i;
40 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
41}
42
43/* loop - do things */
44static void _loop(double t, int f)
45{
46 int i;
47 Evas_Coord x, y, w, h, w0, h0;
48 for (i = 0; i < OBNUM; i++)
49 {
50 w0 = 80;
51 h0 = 80;
52 w = 5 + ((1.0 + cos((double)(f + (i * 10)) / (7.4 * SLOW) )) * w0 * 2);
53 h = 5 + ((1.0 + sin((double)(f + (i * 19)) / (12.6 * SLOW) )) * h0 * 2);
54 x = (win_w / 2) - (w / 2);
55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
56 y = (win_h / 2) - (h / 2);
57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
58 eo_do(o_images[i],
59 evas_obj_position_set(x, y),
60 evas_obj_size_set(w, h),
61 evas_obj_image_fill_set(0, 0, w, h));
62 }
63 FPS_STD(NAME);
64}
65
66/* prepend special key handlers if interactive (before STD) */
67static void _key(char *key)
68{
69 KEY_STD;
70}
71
72
73
74
75
76
77
78
79
80
81
82
83/* template stuff - ignore */
84# endif
85#endif
86
87#ifdef UI
88_ui_menu_item_add(ICON, NAME, FNAME);
89#endif
90
91#ifdef PROTO
92void FNAME(void);
93#endif
94
95#ifndef PROTO
96# ifndef UI
97void FNAME(void)
98{
99 ui_func_set(_key, _loop);
100 _setup();
101}
102# endif
103#endif
104#undef FNAME
105#undef NAME
106#undef ICON
diff --git a/src/bin/cxx/image_blend_nearest_solid_scaled_capi.h b/src/bin/cxx/image_blend_nearest_solid_scaled_capi.h
new file mode 100644
index 0000000..d2c244b
--- /dev/null
+++ b/src/bin/cxx/image_blend_nearest_solid_scaled_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_nearest_solid_scaled_cxx_start
11#define NAME "Image Blend Nearest Solid Scaled"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_occlude1.cc b/src/bin/cxx/image_blend_occlude1.cc
new file mode 100644
index 0000000..6830ee4
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude1.cc
@@ -0,0 +1,119 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_occlude1_start
7#define NAME "Image Blend Occlude 1"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14/* standard var */
15static int done = 0;
16/* private data */
17static Evas_Object *o_images[OBNUM];
18
19/* setup */
20static void _setup(void)
21{
22 int i;
23 Evas_Object *o;
24 srnd();
25 for (i = 0; i < OBNUM; i++)
26 {
27 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
28 o_images[i] = o;
29 if (i < (OBNUM / 2))
30 {
31 eo_do(o, efl_file_set(build_path("logo.png"), NULL));
32 }
33 else
34 {
35 Evas_Coord x, y;
36
37 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
38 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
39 eo_do(o,
40 efl_file_set(build_path("image.png"), NULL),
41 evas_obj_position_set(x, y));
42 }
43 eo_do(o,
44 evas_obj_image_fill_set(0, 0, 120, 160),
45 evas_obj_size_set(120, 160),
46 evas_obj_visibility_set(EINA_TRUE));
47 }
48 done = 0;
49}
50
51/* cleanup */
52static void _cleanup(void)
53{
54 int i;
55 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
56}
57
58/* loop - do things */
59static void _loop(double t, int f)
60{
61 int i;
62 Evas_Coord x, y, w, h;
63 for (i = 0; i < OBNUM; i++)
64 {
65 if (i < (OBNUM / 2))
66 {
67 w = 120;
68 h = 160;
69 x = (win_w / 2) - (w / 2);
70 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
71 y = (win_h / 2) - (h / 2);
72 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
73 eo_do(o_images[i], evas_obj_position_set(x, y));
74 }
75 }
76 FPS_STD(NAME);
77}
78
79/* prepend special key handlers if interactive (before STD) */
80static void _key(char *key)
81{
82 KEY_STD;
83}
84
85
86
87
88
89
90
91
92
93
94
95
96/* template stuff - ignore */
97# endif
98#endif
99
100#ifdef UI
101_ui_menu_item_add(ICON, NAME, FNAME);
102#endif
103
104#ifdef PROTO
105void FNAME(void);
106#endif
107
108#ifndef PROTO
109# ifndef UI
110void FNAME(void)
111{
112 ui_func_set(_key, _loop);
113 _setup();
114}
115# endif
116#endif
117#undef FNAME
118#undef NAME
119#undef ICON
diff --git a/src/bin/cxx/image_blend_occlude1_capi.h b/src/bin/cxx/image_blend_occlude1_capi.h
new file mode 100644
index 0000000..13f5726
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude1_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_occlude1_cxx_start
11#define NAME "Image Blend Occlude 1"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_occlude1_few.cc b/src/bin/cxx/image_blend_occlude1_few.cc
new file mode 100644
index 0000000..0519669
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude1_few.cc
@@ -0,0 +1,122 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_occlude1_few_start
7#define NAME "Image Blend Occlude 1 Few"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14#undef OBNUM
15#define OBNUM 32
16
17/* standard var */
18static int done = 0;
19/* private data */
20static Evas_Object *o_images[OBNUM];
21
22/* setup */
23static void _setup(void)
24{
25 int i;
26 Evas_Object *o;
27 srnd();
28 for (i = 0; i < OBNUM; i++)
29 {
30 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
31 o_images[i] = o;
32 if (i < (OBNUM / 2))
33 {
34 eo_do(o, efl_file_set(PACKAGE_DATA_DIR"/data/logo.png", NULL));
35 }
36 else
37 {
38 Evas_Coord x, y;
39
40 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
41 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
42 eo_do(o,
43 efl_file_set(PACKAGE_DATA_DIR"/data/image.png", NULL),
44 evas_obj_position_set(x, y));
45 }
46 eo_do(o,
47 evas_obj_image_fill_set(0, 0, 120, 160),
48 evas_obj_size_set(120, 160),
49 evas_obj_visibility_set(EINA_TRUE));
50 }
51 done = 0;
52}
53
54/* cleanup */
55static void _cleanup(void)
56{
57 int i;
58 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
59}
60
61/* loop - do things */
62static void _loop(double t, int f)
63{
64 int i;
65 Evas_Coord x, y, w, h;
66 for (i = 0; i < OBNUM; i++)
67 {
68 if (i < (OBNUM / 2))
69 {
70 w = 120;
71 h = 160;
72 x = (win_w / 2) - (w / 2);
73 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
74 y = (win_h / 2) - (h / 2);
75 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
76 eo_do(o_images[i], evas_obj_position_set(x, y));
77 }
78 }
79 FPS_STD(NAME);
80}
81
82/* prepend special key handlers if interactive (before STD) */
83static void _key(char *key)
84{
85 KEY_STD;
86}
87
88
89
90
91
92
93
94
95
96
97
98
99/* template stuff - ignore */
100# endif
101#endif
102
103#ifdef UI
104_ui_menu_item_add(ICON, NAME, FNAME);
105#endif
106
107#ifdef PROTO
108void FNAME(void);
109#endif
110
111#ifndef PROTO
112# ifndef UI
113void FNAME(void)
114{
115 ui_func_set(_key, _loop);
116 _setup();
117}
118# endif
119#endif
120#undef FNAME
121#undef NAME
122#undef ICON
diff --git a/src/bin/cxx/image_blend_occlude1_few_capi.h b/src/bin/cxx/image_blend_occlude1_few_capi.h
new file mode 100644
index 0000000..853f7a1
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude1_few_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_occlude1_few_cxx_start
11#define NAME "Image Blend Occlude 1 Few"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_occlude1_many.cc b/src/bin/cxx/image_blend_occlude1_many.cc
new file mode 100644
index 0000000..669e9eb
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude1_many.cc
@@ -0,0 +1,122 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_occlude1_many_start
7#define NAME "Image Blend Occlude 1 Many"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14#undef OBNUM
15#define OBNUM 320
16
17/* standard var */
18static int done = 0;
19/* private data */
20static Evas_Object *o_images[OBNUM];
21
22/* setup */
23static void _setup(void)
24{
25 int i;
26 Evas_Object *o;
27 srnd();
28 for (i = 0; i < OBNUM; i++)
29 {
30 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
31 o_images[i] = o;
32 if (i < (OBNUM / 2))
33 {
34 eo_do(o, efl_file_set(build_path("logo.png"), NULL));
35 }
36 else
37 {
38 Evas_Coord x, y;
39
40 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
41 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
42 eo_do(o,
43 efl_file_set(build_path("image.png"), NULL),
44 evas_obj_position_set(x, y));
45 }
46 eo_do(o,
47 evas_obj_image_fill_set(0, 0, 120, 160),
48 evas_obj_size_set(120, 160),
49 evas_obj_visibility_set(EINA_TRUE));
50 }
51 done = 0;
52}
53
54/* cleanup */
55static void _cleanup(void)
56{
57 int i;
58 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
59}
60
61/* loop - do things */
62static void _loop(double t, int f)
63{
64 int i;
65 Evas_Coord x, y, w, h;
66 for (i = 0; i < OBNUM; i++)
67 {
68 if (i < (OBNUM / 2))
69 {
70 w = 120;
71 h = 160;
72 x = (win_w / 2) - (w / 2);
73 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
74 y = (win_h / 2) - (h / 2);
75 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
76 eo_do(o_images[i], evas_obj_position_set(x, y));
77 }
78 }
79 FPS_STD(NAME);
80}
81
82/* prepend special key handlers if interactive (before STD) */
83static void _key(char *key)
84{
85 KEY_STD;
86}
87
88
89
90
91
92
93
94
95
96
97
98
99/* template stuff - ignore */
100# endif
101#endif
102
103#ifdef UI
104_ui_menu_item_add(ICON, NAME, FNAME);
105#endif
106
107#ifdef PROTO
108void FNAME(void);
109#endif
110
111#ifndef PROTO
112# ifndef UI
113void FNAME(void)
114{
115 ui_func_set(_key, _loop);
116 _setup();
117}
118# endif
119#endif
120#undef FNAME
121#undef NAME
122#undef ICON
diff --git a/src/bin/cxx/image_blend_occlude1_many_capi.h b/src/bin/cxx/image_blend_occlude1_many_capi.h
new file mode 100644
index 0000000..95b4416
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude1_many_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_occlude1_many_cxx_start
11#define NAME "Image Blend Occlude 1 Many"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_occlude1_very_many.cc b/src/bin/cxx/image_blend_occlude1_very_many.cc
new file mode 100644
index 0000000..7c0a55a
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude1_very_many.cc
@@ -0,0 +1,122 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_occlude1_very_many_start
7#define NAME "Image Blend Occlude 1 Very Many"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14#undef OBNUM
15#define OBNUM 1600
16
17/* standard var */
18static int done = 0;
19/* private data */
20static Evas_Object *o_images[OBNUM];
21
22/* setup */
23static void _setup(void)
24{
25 int i;
26 Evas_Object *o;
27 srnd();
28 for (i = 0; i < OBNUM; i++)
29 {
30 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
31 o_images[i] = o;
32 if (i < (OBNUM / 2))
33 {
34 eo_do(o, efl_file_set(build_path("logo.png"), NULL));
35 }
36 else
37 {
38 Evas_Coord x, y;
39
40 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
41 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
42 eo_do(o,
43 efl_file_set(build_path("image.png"), NULL),
44 evas_obj_position_set(x, y));
45 }
46 eo_do(o,
47 evas_obj_image_fill_set(0, 0, 120, 160),
48 evas_obj_size_set(120, 160),
49 evas_obj_visibility_set(EINA_TRUE));
50 }
51 done = 0;
52}
53
54/* cleanup */
55static void _cleanup(void)
56{
57 int i;
58 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
59}
60
61/* loop - do things */
62static void _loop(double t, int f)
63{
64 int i;
65 Evas_Coord x, y, w, h;
66 for (i = 0; i < OBNUM; i++)
67 {
68 if (i < (OBNUM / 2))
69 {
70 w = 120;
71 h = 160;
72 x = (win_w / 2) - (w / 2);
73 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
74 y = (win_h / 2) - (h / 2);
75 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
76 eo_do(o_images[i], evas_obj_position_set(x, y));
77 }
78 }
79 FPS_STD(NAME);
80}
81
82/* prepend special key handlers if interactive (before STD) */
83static void _key(char *key)
84{
85 KEY_STD;
86}
87
88
89
90
91
92
93
94
95
96
97
98
99/* template stuff - ignore */
100# endif
101#endif
102
103#ifdef UI
104_ui_menu_item_add(ICON, NAME, FNAME);
105#endif
106
107#ifdef PROTO
108void FNAME(void);
109#endif
110
111#ifndef PROTO
112# ifndef UI
113void FNAME(void)
114{
115 ui_func_set(_key, _loop);
116 _setup();
117}
118# endif
119#endif
120#undef FNAME
121#undef NAME
122#undef ICON
diff --git a/src/bin/cxx/image_blend_occlude1_very_many_capi.h b/src/bin/cxx/image_blend_occlude1_very_many_capi.h
new file mode 100644
index 0000000..b642bba
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude1_very_many_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_occlude1_very_many_cxx_start
11#define NAME "Image Blend Occlude 1 Very Many"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_occlude2.cc b/src/bin/cxx/image_blend_occlude2.cc
new file mode 100644
index 0000000..1686422
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude2.cc
@@ -0,0 +1,119 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_occlude2_start
7#define NAME "Image Blend Occlude 2"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14/* standard var */
15static int done = 0;
16/* private data */
17static Evas_Object *o_images[OBNUM];
18
19/* setup */
20static void _setup(void)
21{
22 int i;
23 Evas_Object *o;
24 srnd();
25 for (i = 0; i < OBNUM; i++)
26 {
27 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
28 o_images[i] = o;
29 if (i & 0x1)
30 {
31 eo_do(o, efl_file_set(build_path("logo.png"), NULL));
32 }
33 else
34 {
35 Evas_Coord x, y;
36
37 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
38 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
39 eo_do(o,
40 efl_file_set(build_path("image.png"), NULL),
41 evas_obj_position_set(x, y));
42 }
43 eo_do(o,
44 evas_obj_image_fill_set(0, 0, 120, 160),
45 evas_obj_size_set(120, 160),
46 evas_obj_visibility_set(EINA_TRUE));
47 }
48 done = 0;
49}
50
51/* cleanup */
52static void _cleanup(void)
53{
54 int i;
55 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
56}
57
58/* loop - do things */
59static void _loop(double t, int f)
60{
61 int i;
62 Evas_Coord x, y, w, h;
63 for (i = 0; i < OBNUM; i++)
64 {
65 if (i & 0x1)
66 {
67 w = 120;
68 h = 160;
69 x = (win_w / 2) - (w / 2);
70 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
71 y = (win_h / 2) - (h / 2);
72 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
73 eo_do(o_images[i], evas_obj_position_set(x, y));
74 }
75 }
76 FPS_STD(NAME);
77}
78
79/* prepend special key handlers if interactive (before STD) */
80static void _key(char *key)
81{
82 KEY_STD;
83}
84
85
86
87
88
89
90
91
92
93
94
95
96/* template stuff - ignore */
97# endif
98#endif
99
100#ifdef UI
101_ui_menu_item_add(ICON, NAME, FNAME);
102#endif
103
104#ifdef PROTO
105void FNAME(void);
106#endif
107
108#ifndef PROTO
109# ifndef UI
110void FNAME(void)
111{
112 ui_func_set(_key, _loop);
113 _setup();
114}
115# endif
116#endif
117#undef FNAME
118#undef NAME
119#undef ICON
diff --git a/src/bin/cxx/image_blend_occlude2_capi.h b/src/bin/cxx/image_blend_occlude2_capi.h
new file mode 100644
index 0000000..ea09270
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude2_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_occlude2_cxx_start
11#define NAME "Image Blend Occlude 2"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_occlude2_few.cc b/src/bin/cxx/image_blend_occlude2_few.cc
new file mode 100644
index 0000000..15ea683
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude2_few.cc
@@ -0,0 +1,122 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_occlude2_few_start
7#define NAME "Image Blend Occlude 2 Few"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14#undef OBNUM
15#define OBNUM 32
16
17/* standard var */
18static int done = 0;
19/* private data */
20static Evas_Object *o_images[OBNUM];
21
22/* setup */
23static void _setup(void)
24{
25 int i;
26 Evas_Object *o;
27 srnd();
28 for (i = 0; i < OBNUM; i++)
29 {
30 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
31 o_images[i] = o;
32 if (i & 0x1)
33 {
34 eo_do(o, efl_file_set(build_path("logo.png"), NULL));
35 }
36 else
37 {
38 Evas_Coord x, y;
39
40 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
41 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
42 eo_do(o,
43 efl_file_set(build_path("image.png"), NULL),
44 evas_obj_position_set(x, y));
45 }
46 eo_do(o,
47 evas_obj_image_fill_set(0, 0, 120, 160),
48 evas_obj_size_set(120, 160),
49 evas_obj_visibility_set(EINA_TRUE));
50 }
51 done = 0;
52}
53
54/* cleanup */
55static void _cleanup(void)
56{
57 int i;
58 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
59}
60
61/* loop - do things */
62static void _loop(double t, int f)
63{
64 int i;
65 Evas_Coord x, y, w, h;
66 for (i = 0; i < OBNUM; i++)
67 {
68 if (i & 0x1)
69 {
70 w = 120;
71 h = 160;
72 x = (win_w / 2) - (w / 2);
73 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
74 y = (win_h / 2) - (h / 2);
75 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
76 eo_do(o_images[i], evas_obj_position_set(x, y));
77 }
78 }
79 FPS_STD(NAME);
80}
81
82/* prepend special key handlers if interactive (before STD) */
83static void _key(char *key)
84{
85 KEY_STD;
86}
87
88
89
90
91
92
93
94
95
96
97
98
99/* template stuff - ignore */
100# endif
101#endif
102
103#ifdef UI
104_ui_menu_item_add(ICON, NAME, FNAME);
105#endif
106
107#ifdef PROTO
108void FNAME(void);
109#endif
110
111#ifndef PROTO
112# ifndef UI
113void FNAME(void)
114{
115 ui_func_set(_key, _loop);
116 _setup();
117}
118# endif
119#endif
120#undef FNAME
121#undef NAME
122#undef ICON
diff --git a/src/bin/cxx/image_blend_occlude2_few_capi.h b/src/bin/cxx/image_blend_occlude2_few_capi.h
new file mode 100644
index 0000000..9562620
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude2_few_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_occlude2_few_cxx_start
11#define NAME "Image Blend Occlude 2 Few"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_occlude2_many.cc b/src/bin/cxx/image_blend_occlude2_many.cc
new file mode 100644
index 0000000..715580f
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude2_many.cc
@@ -0,0 +1,122 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_occlude2_many_start
7#define NAME "Image Blend Occlude 2 Many"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14#undef OBNUM
15#define OBNUM 320
16
17/* standard var */
18static int done = 0;
19/* private data */
20static Evas_Object *o_images[OBNUM];
21
22/* setup */
23static void _setup(void)
24{
25 int i;
26 Evas_Object *o;
27 srnd();
28 for (i = 0; i < OBNUM; i++)
29 {
30 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
31 o_images[i] = o;
32 if (i & 0x1)
33 {
34 eo_do(o, efl_file_set(build_path("logo.png"), NULL));
35 }
36 else
37 {
38 Evas_Coord x, y;
39
40 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
41 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
42 eo_do(o,
43 efl_file_set(build_path("image.png"), NULL),
44 evas_obj_position_set(x, y));
45 }
46 eo_do(o,
47 evas_obj_image_fill_set(0, 0, 120, 160),
48 evas_obj_size_set(120, 160),
49 evas_obj_visibility_set(EINA_TRUE));
50 }
51 done = 0;
52}
53
54/* cleanup */
55static void _cleanup(void)
56{
57 int i;
58 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
59}
60
61/* loop - do things */
62static void _loop(double t, int f)
63{
64 int i;
65 Evas_Coord x, y, w, h;
66 for (i = 0; i < OBNUM; i++)
67 {
68 if (i & 0x1)
69 {
70 w = 120;
71 h = 160;
72 x = (win_w / 2) - (w / 2);
73 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
74 y = (win_h / 2) - (h / 2);
75 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
76 eo_do(o_images[i], evas_obj_position_set(x, y));
77 }
78 }
79 FPS_STD(NAME);
80}
81
82/* prepend special key handlers if interactive (before STD) */
83static void _key(char *key)
84{
85 KEY_STD;
86}
87
88
89
90
91
92
93
94
95
96
97
98
99/* template stuff - ignore */
100# endif
101#endif
102
103#ifdef UI
104_ui_menu_item_add(ICON, NAME, FNAME);
105#endif
106
107#ifdef PROTO
108void FNAME(void);
109#endif
110
111#ifndef PROTO
112# ifndef UI
113void FNAME(void)
114{
115 ui_func_set(_key, _loop);
116 _setup();
117}
118# endif
119#endif
120#undef FNAME
121#undef NAME
122#undef ICON
diff --git a/src/bin/cxx/image_blend_occlude2_many_capi.h b/src/bin/cxx/image_blend_occlude2_many_capi.h
new file mode 100644
index 0000000..9d33b59
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude2_many_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_occlude2_many_cxx_start
11#define NAME "Image Blend Occlude 2 Many"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_occlude2_very_many.cc b/src/bin/cxx/image_blend_occlude2_very_many.cc
new file mode 100644
index 0000000..2bab38c
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude2_very_many.cc
@@ -0,0 +1,122 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_occlude2_very_many_start
7#define NAME "Image Blend Occlude 2 Very Many"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14#undef OBNUM
15#define OBNUM 1600
16
17/* standard var */
18static int done = 0;
19/* private data */
20static Evas_Object *o_images[OBNUM];
21
22/* setup */
23static void _setup(void)
24{
25 int i;
26 Evas_Object *o;
27 srnd();
28 for (i = 0; i < OBNUM; i++)
29 {
30 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
31 o_images[i] = o;
32 if (i & 0x1)
33 {
34 eo_do(o, efl_file_set(build_path("logo.png"), NULL));
35 }
36 else
37 {
38 Evas_Coord x, y;
39
40 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
41 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
42 eo_do(o,
43 efl_file_set(build_path("image.png"), NULL),
44 evas_obj_position_set(x, y));
45 }
46 eo_do(o,
47 evas_obj_image_fill_set(0, 0, 120, 160),
48 evas_obj_size_set(120, 160),
49 evas_obj_visibility_set(EINA_TRUE));
50 }
51 done = 0;
52}
53
54/* cleanup */
55static void _cleanup(void)
56{
57 int i;
58 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
59}
60
61/* loop - do things */
62static void _loop(double t, int f)
63{
64 int i;
65 Evas_Coord x, y, w, h;
66 for (i = 0; i < OBNUM; i++)
67 {
68 if (i & 0x1)
69 {
70 w = 120;
71 h = 160;
72 x = (win_w / 2) - (w / 2);
73 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
74 y = (win_h / 2) - (h / 2);
75 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
76 eo_do(o_images[i], evas_obj_position_set(x, y));
77 }
78 }
79 FPS_STD(NAME);
80}
81
82/* prepend special key handlers if interactive (before STD) */
83static void _key(char *key)
84{
85 KEY_STD;
86}
87
88
89
90
91
92
93
94
95
96
97
98
99/* template stuff - ignore */
100# endif
101#endif
102
103#ifdef UI
104_ui_menu_item_add(ICON, NAME, FNAME);
105#endif
106
107#ifdef PROTO
108void FNAME(void);
109#endif
110
111#ifndef PROTO
112# ifndef UI
113void FNAME(void)
114{
115 ui_func_set(_key, _loop);
116 _setup();
117}
118# endif
119#endif
120#undef FNAME
121#undef NAME
122#undef ICON
diff --git a/src/bin/cxx/image_blend_occlude2_very_many_capi.h b/src/bin/cxx/image_blend_occlude2_very_many_capi.h
new file mode 100644
index 0000000..c9c0ee9
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude2_very_many_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_occlude2_very_many_cxx_start
11#define NAME "Image Blend Occlude 2 Very Many"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_occlude3.cc b/src/bin/cxx/image_blend_occlude3.cc
new file mode 100644
index 0000000..8f6cc99
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude3.cc
@@ -0,0 +1,119 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_occlude3_start
7#define NAME "Image Blend Occlude 3"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14/* standard var */
15static int done = 0;
16/* private data */
17static Evas_Object *o_images[OBNUM];
18
19/* setup */
20static void _setup(void)
21{
22 int i;
23 Evas_Object *o;
24 srnd();
25 for (i = 0; i < OBNUM; i++)
26 {
27 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
28 o_images[i] = o;
29 if (i > (OBNUM / 2))
30 {
31 eo_do(o, efl_file_set(build_path("logo.png"), NULL));
32 }
33 else
34 {
35 Evas_Coord x, y;
36
37 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
38 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
39 eo_do(o,
40 efl_file_set(build_path("image.png"), NULL),
41 evas_obj_position_set(x, y));
42 }
43 eo_do(o,
44 evas_obj_image_fill_set(0, 0, 120, 160),
45 evas_obj_size_set(120, 160),
46 evas_obj_visibility_set(EINA_TRUE));
47 }
48 done = 0;
49}
50
51/* cleanup */
52static void _cleanup(void)
53{
54 int i;
55 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
56}
57
58/* loop - do things */
59static void _loop(double t, int f)
60{
61 int i;
62 Evas_Coord x, y, w, h;
63 for (i = 0; i < OBNUM; i++)
64 {
65 if (i > (OBNUM / 2))
66 {
67 w = 120;
68 h = 160;
69 x = (win_w / 2) - (w / 2);
70 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
71 y = (win_h / 2) - (h / 2);
72 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
73 eo_do(o_images[i], evas_obj_position_set(x, y));
74 }
75 }
76 FPS_STD(NAME);
77}
78
79/* prepend special key handlers if interactive (before STD) */
80static void _key(char *key)
81{
82 KEY_STD;
83}
84
85
86
87
88
89
90
91
92
93
94
95
96/* template stuff - ignore */
97# endif
98#endif
99
100#ifdef UI
101_ui_menu_item_add(ICON, NAME, FNAME);
102#endif
103
104#ifdef PROTO
105void FNAME(void);
106#endif
107
108#ifndef PROTO
109# ifndef UI
110void FNAME(void)
111{
112 ui_func_set(_key, _loop);
113 _setup();
114}
115# endif
116#endif
117#undef FNAME
118#undef NAME
119#undef ICON
diff --git a/src/bin/cxx/image_blend_occlude3_capi.h b/src/bin/cxx/image_blend_occlude3_capi.h
new file mode 100644
index 0000000..b5b539e
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude3_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_occlude3_cxx_start
11#define NAME "Image Blend Occlude 3"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_occlude3_few.cc b/src/bin/cxx/image_blend_occlude3_few.cc
new file mode 100644
index 0000000..919369a
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude3_few.cc
@@ -0,0 +1,122 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_occlude3_few_start
7#define NAME "Image Blend Occlude 3 Few"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14#undef OBNUM
15#define OBNUM 32
16
17/* standard var */
18static int done = 0;
19/* private data */
20static Evas_Object *o_images[OBNUM];
21
22/* setup */
23static void _setup(void)
24{
25 int i;
26 Evas_Object *o;
27 srnd();
28 for (i = 0; i < OBNUM; i++)
29 {
30 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
31 o_images[i] = o;
32 if (i > (OBNUM / 2))
33 {
34 eo_do(o, efl_file_set(build_path("logo.png"), NULL));
35 }
36 else
37 {
38 Evas_Coord x, y;
39
40 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
41 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
42 eo_do(o,
43 efl_file_set(build_path("image.png"), NULL),
44 evas_obj_position_set(x, y));
45 }
46 eo_do(o,
47 evas_obj_image_fill_set(0, 0, 120, 160),
48 evas_obj_size_set(120, 160),
49 evas_obj_visibility_set(EINA_TRUE));
50 }
51 done = 0;
52}
53
54/* cleanup */
55static void _cleanup(void)
56{
57 int i;
58 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
59}
60
61/* loop - do things */
62static void _loop(double t, int f)
63{
64 int i;
65 Evas_Coord x, y, w, h;
66 for (i = 0; i < OBNUM; i++)
67 {
68 if (i > (OBNUM / 2))
69 {
70 w = 120;
71 h = 160;
72 x = (win_w / 2) - (w / 2);
73 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
74 y = (win_h / 2) - (h / 2);
75 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
76 eo_do(o_images[i], evas_obj_position_set(x, y));
77 }
78 }
79 FPS_STD(NAME);
80}
81
82/* prepend special key handlers if interactive (before STD) */
83static void _key(char *key)
84{
85 KEY_STD;
86}
87
88
89
90
91
92
93
94
95
96
97
98
99/* template stuff - ignore */
100# endif
101#endif
102
103#ifdef UI
104_ui_menu_item_add(ICON, NAME, FNAME);
105#endif
106
107#ifdef PROTO
108void FNAME(void);
109#endif
110
111#ifndef PROTO
112# ifndef UI
113void FNAME(void)
114{
115 ui_func_set(_key, _loop);
116 _setup();
117}
118# endif
119#endif
120#undef FNAME
121#undef NAME
122#undef ICON
diff --git a/src/bin/cxx/image_blend_occlude3_few_capi.h b/src/bin/cxx/image_blend_occlude3_few_capi.h
new file mode 100644
index 0000000..5c5d652
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude3_few_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_occlude3_few_cxx_start
11#define NAME "Image Blend Occlude 3 Few"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_occlude3_many.cc b/src/bin/cxx/image_blend_occlude3_many.cc
new file mode 100644
index 0000000..1cd214f
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude3_many.cc
@@ -0,0 +1,122 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_occlude3_many_start
7#define NAME "Image Blend Occlude 3 Many"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14#undef OBNUM
15#define OBNUM 320
16
17/* standard var */
18static int done = 0;
19/* private data */
20static Evas_Object *o_images[OBNUM];
21
22/* setup */
23static void _setup(void)
24{
25 int i;
26 Evas_Object *o;
27 srnd();
28 for (i = 0; i < OBNUM; i++)
29 {
30 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
31 o_images[i] = o;
32 if (i > (OBNUM / 2))
33 {
34 eo_do(o, efl_file_set(build_path("logo.png"), NULL));
35 }
36 else
37 {
38 Evas_Coord x, y;
39
40 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
41 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
42 eo_do(o,
43 efl_file_set(build_path("image.png"), NULL),
44 evas_obj_position_set(x, y));
45 }
46 eo_do(o,
47 evas_obj_image_fill_set(0, 0, 120, 160),
48 evas_obj_size_set(120, 160),
49 evas_obj_visibility_set(EINA_TRUE));
50 }
51 done = 0;
52}
53
54/* cleanup */
55static void _cleanup(void)
56{
57 int i;
58 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
59}
60
61/* loop - do things */
62static void _loop(double t, int f)
63{
64 int i;
65 Evas_Coord x, y, w, h;
66 for (i = 0; i < OBNUM; i++)
67 {
68 if (i > (OBNUM / 2))
69 {
70 w = 120;
71 h = 160;
72 x = (win_w / 2) - (w / 2);
73 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
74 y = (win_h / 2) - (h / 2);
75 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
76 eo_do(o_images[i], evas_obj_position_set(x, y));
77 }
78 }
79 FPS_STD(NAME);
80}
81
82/* prepend special key handlers if interactive (before STD) */
83static void _key(char *key)
84{
85 KEY_STD;
86}
87
88
89
90
91
92
93
94
95
96
97
98
99/* template stuff - ignore */
100# endif
101#endif
102
103#ifdef UI
104_ui_menu_item_add(ICON, NAME, FNAME);
105#endif
106
107#ifdef PROTO
108void FNAME(void);
109#endif
110
111#ifndef PROTO
112# ifndef UI
113void FNAME(void)
114{
115 ui_func_set(_key, _loop);
116 _setup();
117}
118# endif
119#endif
120#undef FNAME
121#undef NAME
122#undef ICON
diff --git a/src/bin/cxx/image_blend_occlude3_many_capi.h b/src/bin/cxx/image_blend_occlude3_many_capi.h
new file mode 100644
index 0000000..91be559
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude3_many_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_occlude3_many_cxx_start
11#define NAME "Image Blend Occlude 3 Many"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_occlude3_very_many.cc b/src/bin/cxx/image_blend_occlude3_very_many.cc
new file mode 100644
index 0000000..5380a1a
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude3_very_many.cc
@@ -0,0 +1,122 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_occlude3_very_many_start
7#define NAME "Image Blend Occlude 3 Very Many"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14#undef OBNUM
15#define OBNUM 1600
16
17/* standard var */
18static int done = 0;
19/* private data */
20static Evas_Object *o_images[OBNUM];
21
22/* setup */
23static void _setup(void)
24{
25 int i;
26 Evas_Object *o;
27 srnd();
28 for (i = 0; i < OBNUM; i++)
29 {
30 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
31 o_images[i] = o;
32 if (i > (OBNUM / 2))
33 {
34 eo_do(o, efl_file_set(build_path("logo.png"), NULL));
35 }
36 else
37 {
38 Evas_Coord x, y;
39
40 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
41 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
42 eo_do(o,
43 efl_file_set(build_path("image.png"), NULL),
44 evas_obj_position_set(x, y));
45 }
46 eo_do(o,
47 evas_obj_image_fill_set(0, 0, 120, 160),
48 evas_obj_size_set(120, 160),
49 evas_obj_visibility_set(EINA_TRUE));
50 }
51 done = 0;
52}
53
54/* cleanup */
55static void _cleanup(void)
56{
57 int i;
58 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
59}
60
61/* loop - do things */
62static void _loop(double t, int f)
63{
64 int i;
65 Evas_Coord x, y, w, h;
66 for (i = 0; i < OBNUM; i++)
67 {
68 if (i > (OBNUM / 2))
69 {
70 w = 120;
71 h = 160;
72 x = (win_w / 2) - (w / 2);
73 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
74 y = (win_h / 2) - (h / 2);
75 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
76 eo_do(o_images[i], evas_obj_position_set(x, y));
77 }
78 }
79 FPS_STD(NAME);
80}
81
82/* prepend special key handlers if interactive (before STD) */
83static void _key(char *key)
84{
85 KEY_STD;
86}
87
88
89
90
91
92
93
94
95
96
97
98
99/* template stuff - ignore */
100# endif
101#endif
102
103#ifdef UI
104_ui_menu_item_add(ICON, NAME, FNAME);
105#endif
106
107#ifdef PROTO
108void FNAME(void);
109#endif
110
111#ifndef PROTO
112# ifndef UI
113void FNAME(void)
114{
115 ui_func_set(_key, _loop);
116 _setup();
117}
118# endif
119#endif
120#undef FNAME
121#undef NAME
122#undef ICON
diff --git a/src/bin/cxx/image_blend_occlude3_very_many_capi.h b/src/bin/cxx/image_blend_occlude3_very_many_capi.h
new file mode 100644
index 0000000..50c0f97
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude3_very_many_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_occlude3_very_many_cxx_start
11#define NAME "Image Blend Occlude 3 Very Many"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_occlude_capi.h b/src/bin/cxx/image_blend_occlude_capi.h
new file mode 100644
index 0000000..ff70a52
--- /dev/null
+++ b/src/bin/cxx/image_blend_occlude_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_occlude_cxx_start
11
12
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_smooth_same_scaled.cc b/src/bin/cxx/image_blend_smooth_same_scaled.cc
new file mode 100644
index 0000000..c18d2cd
--- /dev/null
+++ b/src/bin/cxx/image_blend_smooth_same_scaled.cc
@@ -0,0 +1,106 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_smooth_same_scaled_start
7#define NAME "Image Blend Smooth Same Scaled"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14/* standard var */
15static int done = 0;
16/* private data */
17static Evas_Object *o_images[OBNUM];
18
19/* setup */
20static void _setup(void)
21{
22 int i;
23 Evas_Object *o;
24 for (i = 0; i < OBNUM; i++)
25 {
26 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
27 o_images[i] = o;
28 eo_do(o,
29 efl_file_set(build_path("logo.png"), NULL),
30 efl_image_smooth_scale_set(1),
31 evas_obj_visibility_set(EINA_TRUE));
32 }
33 done = 0;
34}
35
36/* cleanup */
37static void _cleanup(void)
38{
39 int i;
40 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
41}
42
43/* loop - do things */
44static void _loop(double t, int f)
45{
46 int i;
47 Evas_Coord x, y, w, h, w0, h0;
48 for (i = 0; i < OBNUM; i++)
49 {
50 w0 = 80;
51 h0 = 80;
52 w = 40 + ((i % 3) * (w0 / 2));
53 h = 40 + ((i % 3) * (h0 / 2));
54 x = (win_w / 2) - (w / 2);
55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
56 y = (win_h / 2) - (h / 2);
57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
58 eo_do(o_images[i],
59 evas_obj_position_set(x, y),
60 evas_obj_size_set(w, h),
61 evas_obj_image_fill_set(0, 0, w, h));
62 }
63 FPS_STD(NAME);
64}
65
66/* prepend special key handlers if interactive (before STD) */
67static void _key(char *key)
68{
69 KEY_STD;
70}
71
72
73
74
75
76
77
78
79
80
81
82
83/* template stuff - ignore */
84# endif
85#endif
86
87#ifdef UI
88_ui_menu_item_add(ICON, NAME, FNAME);
89#endif
90
91#ifdef PROTO
92void FNAME(void);
93#endif
94
95#ifndef PROTO
96# ifndef UI
97void FNAME(void)
98{
99 ui_func_set(_key, _loop);
100 _setup();
101}
102# endif
103#endif
104#undef FNAME
105#undef NAME
106#undef ICON
diff --git a/src/bin/cxx/image_blend_smooth_same_scaled_capi.h b/src/bin/cxx/image_blend_smooth_same_scaled_capi.h
new file mode 100644
index 0000000..75ff4ec
--- /dev/null
+++ b/src/bin/cxx/image_blend_smooth_same_scaled_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_smooth_same_scaled_cxx_start
11#define NAME "Image Blend Smooth Same Scaled"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_smooth_scaled.cc b/src/bin/cxx/image_blend_smooth_scaled.cc
new file mode 100644
index 0000000..ab40f80
--- /dev/null
+++ b/src/bin/cxx/image_blend_smooth_scaled.cc
@@ -0,0 +1,106 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_smooth_scaled_start
7#define NAME "Image Blend Smooth Scaled"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14/* standard var */
15static int done = 0;
16/* private data */
17static Evas_Object *o_images[OBNUM];
18
19/* setup */
20static void _setup(void)
21{
22 int i;
23 Evas_Object *o;
24 for (i = 0; i < OBNUM; i++)
25 {
26 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
27 o_images[i] = o;
28 eo_do(o,
29 efl_file_set(build_path("logo.png"), NULL),
30 efl_image_smooth_scale_set(1),
31 evas_obj_visibility_set(EINA_TRUE));
32 }
33 done = 0;
34}
35
36/* cleanup */
37static void _cleanup(void)
38{
39 int i;
40 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
41}
42
43/* loop - do things */
44static void _loop(double t, int f)
45{
46 int i;
47 Evas_Coord x, y, w, h, w0, h0;
48 for (i = 0; i < OBNUM; i++)
49 {
50 w0 = 80;
51 h0 = 80;
52 w = 5 + ((1.0 + cos((double)(f + (i * 10)) / (7.4 * SLOW) )) * w0 * 2);
53 h = 5 + ((1.0 + sin((double)(f + (i * 19)) / (12.6 * SLOW) )) * h0 * 2);
54 x = (win_w / 2) - (w / 2);
55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
56 y = (win_h / 2) - (h / 2);
57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
58 eo_do(o_images[i],
59 evas_obj_position_set(x, y),
60 evas_obj_size_set(w, h),
61 evas_obj_image_fill_set(0, 0, w, h));
62 }
63 FPS_STD(NAME);
64}
65
66/* prepend special key handlers if interactive (before STD) */
67static void _key(char *key)
68{
69 KEY_STD;
70}
71
72
73
74
75
76
77
78
79
80
81
82
83/* template stuff - ignore */
84# endif
85#endif
86
87#ifdef UI
88_ui_menu_item_add(ICON, NAME, FNAME);
89#endif
90
91#ifdef PROTO
92void FNAME(void);
93#endif
94
95#ifndef PROTO
96# ifndef UI
97void FNAME(void)
98{
99 ui_func_set(_key, _loop);
100 _setup();
101}
102# endif
103#endif
104#undef FNAME
105#undef NAME
106#undef ICON
diff --git a/src/bin/cxx/image_blend_smooth_scaled_capi.h b/src/bin/cxx/image_blend_smooth_scaled_capi.h
new file mode 100644
index 0000000..6cea94e
--- /dev/null
+++ b/src/bin/cxx/image_blend_smooth_scaled_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_smooth_scaled_cxx_start
11#define NAME "Image Blend Smooth Scaled"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_smooth_solid_same_scaled.cc b/src/bin/cxx/image_blend_smooth_solid_same_scaled.cc
new file mode 100644
index 0000000..529ef89
--- /dev/null
+++ b/src/bin/cxx/image_blend_smooth_solid_same_scaled.cc
@@ -0,0 +1,106 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_smooth_solid_same_scaled_start
7#define NAME "Image Blend Smooth Solid Same Scaled"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14/* standard var */
15static int done = 0;
16/* private data */
17static Evas_Object *o_images[OBNUM];
18
19/* setup */
20static void _setup(void)
21{
22 int i;
23 Evas_Object *o;
24 for (i = 0; i < OBNUM; i++)
25 {
26 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
27 o_images[i] = o;
28 eo_do(o,
29 efl_file_set(build_path("image.png"), NULL),
30 efl_image_smooth_scale_set(1),
31 evas_obj_visibility_set(EINA_TRUE));
32 }
33 done = 0;
34}
35
36/* cleanup */
37static void _cleanup(void)
38{
39 int i;
40 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
41}
42
43/* loop - do things */
44static void _loop(double t, int f)
45{
46 int i;
47 Evas_Coord x, y, w, h, w0, h0;
48 for (i = 0; i < OBNUM; i++)
49 {
50 w0 = 80;
51 h0 = 80;
52 w = 40 + ((i % 3) * (w0 / 2));
53 h = 40 + ((i % 3) * (h0 / 2));
54 x = (win_w / 2) - (w / 2);
55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
56 y = (win_h / 2) - (h / 2);
57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
58 eo_do(o_images[i],
59 evas_obj_position_set(x, y),
60 evas_obj_size_set(w, h),
61 evas_obj_image_fill_set(0, 0, w, h));
62 }
63 FPS_STD(NAME);
64}
65
66/* prepend special key handlers if interactive (before STD) */
67static void _key(char *key)
68{
69 KEY_STD;
70}
71
72
73
74
75
76
77
78
79
80
81
82
83/* template stuff - ignore */
84# endif
85#endif
86
87#ifdef UI
88_ui_menu_item_add(ICON, NAME, FNAME);
89#endif
90
91#ifdef PROTO
92void FNAME(void);
93#endif
94
95#ifndef PROTO
96# ifndef UI
97void FNAME(void)
98{
99 ui_func_set(_key, _loop);
100 _setup();
101}
102# endif
103#endif
104#undef FNAME
105#undef NAME
106#undef ICON
diff --git a/src/bin/cxx/image_blend_smooth_solid_same_scaled_capi.h b/src/bin/cxx/image_blend_smooth_solid_same_scaled_capi.h
new file mode 100644
index 0000000..83347a7
--- /dev/null
+++ b/src/bin/cxx/image_blend_smooth_solid_same_scaled_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_smooth_solid_same_scaled_cxx_start
11#define NAME "Image Blend Smooth Solid Same Scaled"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_smooth_solid_scaled.cc b/src/bin/cxx/image_blend_smooth_solid_scaled.cc
new file mode 100644
index 0000000..af039c3
--- /dev/null
+++ b/src/bin/cxx/image_blend_smooth_solid_scaled.cc
@@ -0,0 +1,106 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_smooth_solid_scaled_start
7#define NAME "Image Blend Smooth Solid Scaled"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14/* standard var */
15static int done = 0;
16/* private data */
17static Evas_Object *o_images[OBNUM];
18
19/* setup */
20static void _setup(void)
21{
22 int i;
23 Evas_Object *o;
24 for (i = 0; i < OBNUM; i++)
25 {
26 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
27 o_images[i] = o;
28 eo_do(o,
29 efl_file_set(build_path("image.png"), NULL),
30 efl_image_smooth_scale_set(1),
31 evas_obj_visibility_set(EINA_TRUE));
32 }
33 done = 0;
34}
35
36/* cleanup */
37static void _cleanup(void)
38{
39 int i;
40 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
41}
42
43/* loop - do things */
44static void _loop(double t, int f)
45{
46 int i;
47 Evas_Coord x, y, w, h, w0, h0;
48 for (i = 0; i < OBNUM; i++)
49 {
50 w0 = 80;
51 h0 = 80;
52 w = 5 + ((1.0 + cos((double)(f + (i * 10)) / (7.4 * SLOW) )) * w0 * 2);
53 h = 5 + ((1.0 + sin((double)(f + (i * 19)) / (12.6 * SLOW) )) * h0 * 2);
54 x = (win_w / 2) - (w / 2);
55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
56 y = (win_h / 2) - (h / 2);
57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
58 eo_do(o_images[i],
59 evas_obj_position_set(x, y),
60 evas_obj_size_set(w, h),
61 evas_obj_image_fill_set(0, 0, w, h));
62 }
63 FPS_STD(NAME);
64}
65
66/* prepend special key handlers if interactive (before STD) */
67static void _key(char *key)
68{
69 KEY_STD;
70}
71
72
73
74
75
76
77
78
79
80
81
82
83/* template stuff - ignore */
84# endif
85#endif
86
87#ifdef UI
88_ui_menu_item_add(ICON, NAME, FNAME);
89#endif
90
91#ifdef PROTO
92void FNAME(void);
93#endif
94
95#ifndef PROTO
96# ifndef UI
97void FNAME(void)
98{
99 ui_func_set(_key, _loop);
100 _setup();
101}
102# endif
103#endif
104#undef FNAME
105#undef NAME
106#undef ICON
diff --git a/src/bin/cxx/image_blend_smooth_solid_scaled_capi.h b/src/bin/cxx/image_blend_smooth_solid_scaled_capi.h
new file mode 100644
index 0000000..76a6d11
--- /dev/null
+++ b/src/bin/cxx/image_blend_smooth_solid_scaled_capi.h
@@ -0,0 +1,30 @@
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#undef FNAME
6#undef NAME
7#undef ICON
8
9/* metadata */
10#define FNAME image_blend_smooth_solid_scaled_cxx_start
11#define NAME "Image Blend Smooth Solid Scaled"
12#define ICON "blend.png"
13
14#ifdef UI
15_ui_menu_item_add(ICON, NAME, FNAME);
16#endif
17
18#ifdef PROTO
19void FNAME(void);
20#endif
21
22#ifndef EXPEDITE_CXX_TEST_IMPL
23#undef FNAME
24#undef NAME
25#undef ICON
26#endif
27
28#ifdef __cplusplus
29}
30#endif
diff --git a/src/bin/cxx/image_blend_solid_middle_border.cc b/src/bin/cxx/image_blend_solid_middle_border.cc
new file mode 100644
index 0000000..350d837
--- /dev/null
+++ b/src/bin/cxx/image_blend_solid_middle_border.cc
@@ -0,0 +1,107 @@
1#undef FNAME
2#undef NAME
3#undef ICON
4
5/* metadata */
6#define FNAME image_blend_solid_middle_border
7#define NAME "Image Blend Solid Middle Border"
8#define ICON "blend.png"
9
10#ifndef PROTO
11# ifndef UI
12# include "main.h"
13
14/* standard var */
15static int done = 0;
16/* private data */
17static Evas_Object *o_images[OBNUM];
18
19/* setup */
20static void _setup(void)
21{
22 int i;
23 Evas_Object *o;
24 for (i = 0; i < OBNUM; i++)
25 {
26 o = eo_add(EVAS_IMAGE_CLASS, G_evas);
27 o_images[i] = o;
28 eo_do(o,
29 efl_file_set(build_path("bar.png"), NULL),
30 evas_obj_image_border_set(6, 6, 6, 6),
31 evas_obj_image_border_center_fill_set(EVAS_BORDER_FILL_SOLID),
32 evas_obj_visibility_set(EINA_TRUE));
33 }
34 done = 0;
35}
36
37/* cleanup */
38static void _cleanup(void)
39{
40 int i;
41 for (i = 0; i < OBNUM; i++) eo_del(o_images[i]);
42}
43
44/* loop - do things */
45static void _loop(double t, int f)
46{
47 int i;
48 Evas_Coord x, y, w, h, w0, h0;
49 for (i = 0; i < OBNUM; i++)
50 {
51 w0 = 80;
52 h0 = 80;
53 w = 5 + ((1.0 + cos((double)(f + (i * 10)) / (7.4 * SLOW) )) * w0 * 2);
54 h = 5 + ((1.0 + sin((double)(f + (i * 19)) / (12.6 * SLOW) )) * h0 * 2);
55 x = (win_w / 2) - (w / 2);
56 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
57 y = (win_h / 2) - (h / 2);
58 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
59 eo_do(o_images[i],
60 evas_obj_position_set(x, y),
61 evas_obj_size_set(w, h),
62 evas_obj_image_fill_set(0, 0, w, h));
63 }
64 FPS_STD(NAME);
65}
66
67/* prepend special key handlers if interactive (before STD) */
68static void _key(char *key)
69{
70 KEY_STD;
71}
72
73
74
75
76
77
78
79
80
81
82
83
84/* template stuff - ignore */
85# endif
86#endif
87