File: prototypes

package info (click to toggle)
adesklets 0.6.1-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,044 kB
  • ctags: 1,325
  • sloc: ansic: 5,939; sh: 3,983; python: 2,344; perl: 333; makefile: 211; yacc: 80; lex: 42
file content (154 lines) | stat: -rw-r--r-- 9,122 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
time_gate	Set a time gate	double gate
help	Display short help about a command	[const char * command]
ping	Ping the interpreter	void
pause	Freeze the interpreter for debugging	[int delay]
version	Get interpreter version	void
get_id	Get current applet identificator	void
history	List/save commands history	[const char * filename]
set	Set or unset a textual variable	[const * char name, const * char value]
unset_all	Unset all defined textual variables	void
echo	Echo a string	const char * string
start_recording	Start recording a macro	void
stop_recording	Stop recording the macro	void
play_get_abort_on_events	Get replays interuptable status	void
play_set_abort_on_events	Set replays to be interuptable	bool abort
play	Play a given macro	int beginning, int end
context_get_dither	Get context dither	void
context_get_anti_alias	Get context anti alias	void
context_get_blend	Get context blending	void
context_get_operation	Get context operation	void
context_get_cliprect	Get clipping rectange	void
context_get_image	Get context image	void
context_get_font	Get context font	void
context_get_color_range	Get context color range	void
context_get_color_modifier	Get context color modifier	void
context_get_filter	Get context filter	void
context_get_color	Get context color	void
context_get_angle	Get context angle	void
context_get_direction	Get context direction	void
context_set_dither	Set context dither	bool dither
context_set_anti_alias	Set context anti-alias	bool anti_alias
context_set_blend	Set context blending	bool blend
context_set_operation	Set context operation	enum OPERATIONS operation
context_set_cliprect	Set context clipping rectangle	int x, int y, int w, int h
context_set_image	Set context image	int image
context_set_font	Set context font	[int font]
context_set_color_range	Set context color range	[int color_range]
context_set_color_modifier	Set context color modifier	[int color_modifier]
context_set_filter	Set context filter	[int filter]
context_set_color	Set context RGBA color	int red, int green, int blue, int alpha
context_set_angle	Set context angle	double angle
context_set_direction	Set context direction	enum DIRECTIONS direction
add_color_to_color_range	Add a color to a color range	int distance_away
blend_image_onto_image	Blend images together	int source_image,char merge_alpha, int source_x,int source_y, int source_width,int source_height, int destination_x,int destination_y, int destination_width,int destination_height
blend_image_onto_image_at_angle	Blend images together	int source_image,char merge_alpha, int source_x,int source_y, int source_width,int source_height,int destination_x,int destination_y, int angle_x,int angle_y
blend_image_onto_image_skewed	Blend images together	int source_image,char merge_alpha, int source_x,int source_y, int source_width,int source_height,int destination_x,int destination_y, int h_angle_x,int h_angle_y, int v_angle_x,int v_angle_y
apply_filter	Apply a dynamic filter	const char * script
get_text_size	Get size of text	const char * text
get_text_advance	Get advance of text	const char * text
text_draw	Draw a text string	int x, int y, const char *text
modify_color_modifier_gamma	Modify gamma correction	double gamma_value
modify_color_modifier_brightness	Modify brightness	double brightness_value
modify_color_modifier_contrast	Modify contrast	double contrast_value
get_color_modifier_tables	Get tables for a color modifier	void
set_color_modifier_tables	Set tables for a color modifier	unsigned char * table
get_color_modifier_value	Get a value for a color modifier	enum RGBA_TABLES table, int index
set_color_modifier_value	Set a value for a color modifier	enum RGBA_TABLES table, int index, int value
apply_color_modifier	Apply a color modifier	void
apply_color_modifier_to_rectangle	Apply a color modifier	int x, int y, int width,int height
load_image_without_cache	Load an image from disk bypassing the cache	const char *file
load_image	Load an image from disk	const char *file
save_image	Save an image to disk	const char *filename
create_image	Create an image	int width, int height
create_image_using_data	Create an image from data	int width, int height,unsigned int * data
clone_image	Create a copy of an image	void
free_image	Free an image	int image
load_font	Load a font	const char *font_name
free_font	Free a font	int font
list_fonts	List all fonts	void
list_font_path	List all fonts path	void
add_path_to_font_path	Add a font path	const char *path
remove_path_from_font_path	Remove a font path	const char *path
create_color_range	Create a color range	void
free_color_range	Free a color range	int color_range
create_filter	Create a filter	void
free_filter	Free a filter	int filter
create_color_modifier	Create a color modifier	void
free_color_modifier	Free a color modifier	int color_modifier
polygon_new	Create a polygon	void
polygon_free	Free a polygon	int poly
polygon_add_point	Add point to a polygon	int poly, int x, int y
images_reset_all	Free all images and refresh foreground	void
images_info	Get information on all images	void
fonts_reset_all	Free all fonts	void
fonts_info	Get information on all fonts	void
color_ranges_reset_all	Free all color ranges	void
color_ranges_info	Get information on all color ranges	void
color_modifiers_reset_all	Free all color modifiers	void
color_modifiers_info	Get information on all color modifiers	void
filters_reset_all	Free all filters	void
filters_info	Get information on all filters	void
polygons_reset_all	Free all polygons	void
polygons_info	Get information on all polygons	void
image_has_alpha	Get alpha channel setting of an image	void
image_get_width	Get width of an image	void
image_get_height	Get height of an image	void
image_get_filename	Get filename of an image	void
image_get_data	Get the data of an image	void
image_query_pixel	Query a pixel value	int x, int y
image_set_has_alpha	Set alpha channel of an image	bool has_alpha
image_set_changes_on_disk	Set image load time behavior	void
image_set_format	Set image format	const char *format
image_filter_recurse		void
image_draw_line	Draw a line	int x1, int y1, int x2, int y2,char make_updates
image_draw_rectangle	Draw a rectangle	int x, int y, int width, int height
image_fill_rectangle	Draw a filled rectangle	int x, int y, int width, int height
image_fill_color_range_rectangle	Draw a gradian filled rectange	int x, int y, int width,int height, double angle
image_draw_ellipse	Draw an ellipse	int xc, int yc, int a, int b
image_fill_ellipse	Fill an ellipse	int xc, int yc, int a, int b
image_copy_alpha_to_image	Transfert alpha channel	int image_source, int x,int y
image_copy_alpha_rectangle_to_image	Transfert alpha channel	int image_source,int x, int y, int width,int height,int destination_x,int destination_y
image_draw_polygon	Draw a polygon onto image	int poly, unsigned char closed
image_fill_polygon	Fill a polygon onto image	int poly
image_flip_horizontal	Flip an image horizontally	void
image_flip_vertical	Flip an image vertically	void
image_flip_diagonal	Flip an image diagonally	void
image_orientate	Orientate an image	int orientation
image_blur	Blur an image	int radius
image_sharpen	Sharpen an image	int radius
filter_set	Set filter	int xoff, int yoff, int a, int r, int g, int b
filter_set_red	Set filter red channel	int xoff, int yoff, int a, int r, int g, int b
filter_set_green	Set filter grean channel	int xoff, int yoff, int a, int r, int g, int b
filter_set_blue	Set filter blue channel	int xoff, int yoff, int a, int r, int g, int b
filter_set_alpha	Set filter alpha channel	int xoff, int yoff, int a, int r, int g, int b
filter_constants	Set filter constants	int a, int r, int g, int b
filter_divisors	Set filter divisors	int a, int r, int g, int b
menu_fire	Fire a given menu	int menu
menu_reset_all	Reset all menus to initial state	void
menu_add_menu	Add a new menu	void
menu_add_submenu	Add a submenu to current menu	const char * submenu
menu_add_item	Add an item to current menu	const char * add_item
menu_add_separator	Add a separator to current menu	void
menu_end_submenu	End a submenu construction	void
events_info	Get all caught events	void
events_get_echo	Get events echo status	void
events_get_send_sigusr1	Get sending of SIGUSR1 to parent on event	void
window_reset	Reset the window	enum WINDOW_MANAGER manager
window_show	Map the window on the screen	void
window_hide	Unmap the window from the screen	void
window_resize	Resize the window	int width, int height
window_get_transparency	Get automatic transparency	void
window_get_background_grab	Get automatic grab	void
window_get_background_image	Get background image	void
window_get_managed_status	Get managed status	void
window_set_transparency	Set automatic transparency	bool transparency
window_set_background_grab	Set automatic grab	bool grab
window_set_background_image	Set background image	int image
screen_get_width	Get screen width	void
screen_get_height	Get screen height	void
screen_get_depth	Get screen depth	void
get_charset	Get input charset	void
set_charset	Set input charset	const char * charset
charset_status	Get charset capabilities	void
x_status	Status of connection to X Window server	void
quit	Quit the program	void