mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2025-04-21 12:27:27 +03:00
sch2fig/lib.c (draw_text): flipping affects both alignments
This commit is contained in:
@@ -383,7 +383,11 @@ static void draw_text(const struct text_obj *text, int m[6])
|
|||||||
switch (txt.rot) {
|
switch (txt.rot) {
|
||||||
case 180:
|
case 180:
|
||||||
case 270:
|
case 270:
|
||||||
text_flip_x(&txt);
|
/* @@@ consolidate this with text_flip_x */
|
||||||
|
txt.rot = angle_add(txt.rot, 180);
|
||||||
|
txt.hor = text_flip(txt.hor);
|
||||||
|
txt.vert = text_flip(txt.vert);
|
||||||
|
// text_flip_x(&txt);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user