1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-27 00:15:20 +02:00

sch2fig/fig.c (fig_label): support orientation 1 (up)

This commit is contained in:
Werner Almesberger 2016-07-25 02:02:42 -03:00
parent fe15498ef1
commit e37765fd12

View File

@ -96,6 +96,11 @@ void fig_label(int x, int y, const char *s, int dir, int dim,
txt.hor = text_min;
dy = 1;
break;
case 1: /* up */
txt.rot = 90;
txt.hor = text_min;
dx = 1;
break;
case 2: /* left */
txt.rot = 0;
txt.hor = text_max;