作図ソフト dia の改良版
修訂 | 3a8f88eaa869bd47377baa8098c1650636bfd8f0 (tree) |
---|---|
時間 | 2014-06-08 17:58:27 |
作者 | Hans Breuer <hans@breu...> |
Commiter | Hans Breuer |
cgm: remove superfluous DiaRenderer prototypes
not necessary if *_renderer_class_init() comes after the renderer
function implementations referencing them.
@@ -255,60 +255,6 @@ struct _CgmRenderer | ||
255 | 255 | DiaContext *ctx; |
256 | 256 | }; |
257 | 257 | |
258 | - | |
259 | - | |
260 | -static void begin_render(DiaRenderer *self, const Rectangle *update); | |
261 | -static void end_render(DiaRenderer *self); | |
262 | -static void set_linewidth(DiaRenderer *self, real linewidth); | |
263 | -static void set_linecaps(DiaRenderer *self, LineCaps mode); | |
264 | -static void set_linejoin(DiaRenderer *self, LineJoin mode); | |
265 | -static void set_linestyle(DiaRenderer *self, LineStyle mode, real dash_length); | |
266 | -static void set_fillstyle(DiaRenderer *self, FillStyle mode); | |
267 | -static void set_font(DiaRenderer *self, DiaFont *font, real height); | |
268 | -static void draw_line(DiaRenderer *self, | |
269 | - Point *start, Point *end, | |
270 | - Color *line_colour); | |
271 | -static void draw_polyline(DiaRenderer *self, | |
272 | - Point *points, int num_points, | |
273 | - Color *line_colour); | |
274 | -static void draw_polygon(DiaRenderer *self, | |
275 | - Point *points, int num_points, | |
276 | - Color *fill, Color *stroke); | |
277 | -static void draw_rect(DiaRenderer *self, | |
278 | - Point *ul_corner, Point *lr_corner, | |
279 | - Color *fill, Color *stroke); | |
280 | -static void draw_arc(DiaRenderer *self, | |
281 | - Point *center, | |
282 | - real width, real height, | |
283 | - real angle1, real angle2, | |
284 | - Color *colour); | |
285 | -static void fill_arc(DiaRenderer *self, | |
286 | - Point *center, | |
287 | - real width, real height, | |
288 | - real angle1, real angle2, | |
289 | - Color *colour); | |
290 | -static void draw_ellipse(DiaRenderer *self, | |
291 | - Point *center, | |
292 | - real width, real height, | |
293 | - Color *fill, Color *stroke); | |
294 | -static void draw_bezier(DiaRenderer *self, | |
295 | - BezPoint *points, | |
296 | - int numpoints, | |
297 | - Color *colour); | |
298 | -static void draw_beziergon(DiaRenderer *self, | |
299 | - BezPoint *points, /* Last point must be same as first point */ | |
300 | - int numpoints, | |
301 | - Color *fill, | |
302 | - Color *stroke); | |
303 | -static void draw_string(DiaRenderer *self, | |
304 | - const char *text, | |
305 | - Point *pos, Alignment alignment, | |
306 | - Color *colour); | |
307 | -static void draw_image(DiaRenderer *self, | |
308 | - Point *point, | |
309 | - real width, real height, | |
310 | - DiaImage *image); | |
311 | - | |
312 | 258 | static void |
313 | 259 | init_attributes( CgmRenderer *renderer ) |
314 | 260 | { |