Hiroyuki Ikezoe
ikezo****@users*****
2006年 11月 23日 (木) 15:27:58 JST
Index: libtomoe-gtk/src/tomoe-canvas.c diff -u libtomoe-gtk/src/tomoe-canvas.c:1.25 libtomoe-gtk/src/tomoe-canvas.c:1.26 --- libtomoe-gtk/src/tomoe-canvas.c:1.25 Thu Nov 23 15:25:38 2006 +++ libtomoe-gtk/src/tomoe-canvas.c Thu Nov 23 15:27:58 2006 @@ -91,10 +91,10 @@ static void tomoe_canvas_draw_background (TomoeCanvas *canvas, gboolean draw); static void tomoe_canvas_draw_axis (TomoeCanvas *canvas); -static void tomoe_canvas_resize (TomoeCanvas *canvas, +static void tomoe_canvas_resize_writing (TomoeCanvas *canvas, gdouble x_rate, gdouble y_rate); -static void tomoe_canvas_move_position (TomoeCanvas *canvas, +static void tomoe_canvas_move_writing (TomoeCanvas *canvas, gint dx, gint dy); @@ -649,7 +649,7 @@ } static void -tomoe_canvas_resize (TomoeCanvas *canvas, gdouble x_rate, gdouble y_rate) +tomoe_canvas_resize_writing (TomoeCanvas *canvas, gdouble x_rate, gdouble y_rate) { TomoeCanvasPriv *priv = TOMOE_CANVAS_GET_PRIVATE (canvas); TomoeWriting *new_writing; @@ -683,7 +683,7 @@ } static void -tomoe_canvas_move_position (TomoeCanvas *canvas, gint dx, gint dy) +tomoe_canvas_move_writing (TomoeCanvas *canvas, gint dx, gint dy) { TomoeCanvasPriv *priv = TOMOE_CANVAS_GET_PRIVATE (canvas); TomoeWriting *new_writing; @@ -707,13 +707,13 @@ y_rate = (priv->size * TOMOE_CANVAS_DEFAULT_RATE) / char_size.height; - tomoe_canvas_resize (canvas, x_rate, y_rate); + tomoe_canvas_resize_writing (canvas, x_rate, y_rate); get_char_size (canvas, &char_size); dx = ((priv->size - char_size.width) / 2) - char_size.x; dy = ((priv->size - char_size.height) / 2) - char_size.y; - tomoe_canvas_move_position (canvas, dx, dy); + tomoe_canvas_move_writing (canvas, dx, dy); tomoe_canvas_refresh (canvas); tomoe_canvas_find (canvas);