• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

作図ソフト dia の改良版


Commit MetaInfo

修訂3a8f88eaa869bd47377baa8098c1650636bfd8f0 (tree)
時間2014-06-08 17:58:27
作者Hans Breuer <hans@breu...>
CommiterHans Breuer

Log Message

cgm: remove superfluous DiaRenderer prototypes

not necessary if *_renderer_class_init() comes after the renderer
function implementations referencing them.

Change Summary

差異

--- a/plug-ins/cgm/cgm.c
+++ b/plug-ins/cgm/cgm.c
@@ -255,60 +255,6 @@ struct _CgmRenderer
255255 DiaContext *ctx;
256256 };
257257
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-
312258 static void
313259 init_attributes( CgmRenderer *renderer )
314260 {