aboutsummaryrefslogtreecommitdiff
path: root/input.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-08-29 18:41:40 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-08-29 18:41:40 +0000
commit6e5688d7da131acf025c9a51a0466a9fbf5c7b56 (patch)
tree867507dd5812506ce3d27291616996b868427034 /input.h
parentrender: add font_baseline() - calculates the y-coordinate for the baseline (diff)
render: draw_bar: don't assume height == ascent+descent
Instead, draw a bar that is ascent+descent tall, positioned around the baseline such that it starts at the ascent and ends at the descent.
Diffstat (limited to 'input.h')
0 files changed, 0 insertions, 0 deletions