1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-26 23:31:53 +02:00

sch2fig/fig.c (fig_glabel): support direction 3 (down)

This commit is contained in:
Werner Almesberger 2016-07-25 14:09:58 -03:00
parent 09bd2ca38d
commit 1e36f32c0f

View File

@ -178,6 +178,11 @@ void fig_glabel(int x, int y, const char *s, int dir, int dim,
box = flip_box(box);
anchor_right = !anchor_right;
break;
case 3: /* down */
txt.rot = 90;
txt.hor = text_max;
dx = -1;
break;
default:
assert(0);
}