1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-30 07:47:10 +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); box = flip_box(box);
anchor_right = !anchor_right; anchor_right = !anchor_right;
break; break;
case 3: /* down */
txt.rot = 90;
txt.hor = text_max;
dx = -1;
break;
default: default:
assert(0); assert(0);
} }