From: Jim Evins Date: Sat, 5 Oct 2002 04:50:02 +0000 (+0000) Subject: Fixed coordinate system for rotated labels. X-Git-Tag: glabels-2_3_0~739 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e675919eedc4f9899fcdc596dc7be429e55670fa;p=glabels Fixed coordinate system for rotated labels. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@147 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- diff --git a/glabels2/src/print.c b/glabels2/src/print.c index e98fdba4..d978ee7c 100644 --- a/glabels2/src/print.c +++ b/glabels2/src/print.c @@ -496,7 +496,8 @@ print_label (PrintInfo *pi, gnome_print_translate (pi->pc, x, y); if (gl_label_get_rotate_flag (label)) { gl_debug (DEBUG_PRINT, "Rotate flag set"); - gnome_print_rotate (pi->pc, 90.0); + gnome_print_rotate (pi->pc, -90.0); + gnome_print_translate (pi->pc, -width, 0.0); } if ( reverse_flag ) { gnome_print_translate (pi->pc, width, 0.0);