comparison src/X_main.c @ 20:74d3d5dc9aaa

rename XXX_draw() to XXX_fill()
author Thinker K.F. Li <thinker@branda.to>
date Sat, 02 Aug 2008 15:46:26 +0800
parents cf6d65398619
children 83d24300a992
comparison
equal deleted inserted replaced
19:cf6d65398619 20:74d3d5dc9aaa
34 coord1->matrix[5] = 20; 34 coord1->matrix[5] = 20;
35 path2 = sh_path_new("M 22,89.36218 C -34,-0.63782 39,-9.637817 82,12.36218 C 125,34.36218 142,136.36218 142,136.36218 C 100.66667,125.36218 74.26756,123.42795 22,89.36218 z "); 35 path2 = sh_path_new("M 22,89.36218 C -34,-0.63782 39,-9.637817 82,12.36218 C 125,34.36218 142,136.36218 142,136.36218 C 100.66667,125.36218 74.26756,123.42795 22,89.36218 z ");
36 rdman_paint_fill(&rdman, fill2, path2); 36 rdman_paint_fill(&rdman, fill2, path2);
37 coord2->matrix[0] = -0.8; 37 coord2->matrix[0] = -0.8;
38 coord2->matrix[1] = 0; 38 coord2->matrix[1] = 0;
39 coord2->matrix[2] = 220; 39 coord2->matrix[2] = 180;
40 coord2->matrix[4] = 0.8; 40 coord2->matrix[4] = 0.8;
41 coord2->matrix[5] = 20; 41 coord2->matrix[5] = 20;
42 rdman_coord_changed(&rdman, coord1); 42 rdman_coord_changed(&rdman, coord1);
43 rdman_coord_changed(&rdman, coord2); 43 rdman_coord_changed(&rdman, coord2);
44 rdman_add_shape(&rdman, (shape_t *)path1, coord1); 44 rdman_add_shape(&rdman, (shape_t *)path1, coord1);