diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-10-03 17:13:19 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-10-03 17:13:19 -0700 |
commit | 271889386861ab8685cebddcebeaa87eea3fa417 (patch) | |
tree | 7c1a9bb573dd16b554592b24cc3c5083483779b2 /src/libs/ray/ray_object_plane.h | |
parent | 30214bf817c1e18235fcddacac851ecc5cbe66a0 (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/libs/ray/ray_object_plane.h')
0 files changed, 0 insertions, 0 deletions