summaryrefslogtreecommitdiff
path: root/src/modules/asc
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-10-03 17:13:19 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-10-03 17:13:19 -0700
commit271889386861ab8685cebddcebeaa87eea3fa417 (patch)
tree7c1a9bb573dd16b554592b24cc3c5083483779b2 /src/modules/asc
parent30214bf817c1e18235fcddacac851ecc5cbe66a0 (diff)
libs/txt: implement txt_render_fragment_offsetted() variant
Instead of rigid txt_align_t enums to specify how the text is aligned relative to the x/y coordinates, you specify float offsets in normalized coordinates -1..+1 allowing fine-grained control of the offsets. modules/asc will use this to automatically adjust the offsets when requested, so x/y coordinates may be varied dynamically using taps with the text automagically adjusting its offset to try stay in-fragment.
Diffstat (limited to 'src/modules/asc')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved