mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 21:01:31 +02:00
sch2fig/lib.c (draw_text): flipping affects both alignments
This commit is contained in:
parent
538f362b0a
commit
7efb3e7e7e
@ -383,7 +383,11 @@ static void draw_text(const struct text_obj *text, int m[6])
|
||||
switch (txt.rot) {
|
||||
case 180:
|
||||
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;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user