summaryrefslogtreecommitdiff
path: root/src/libs/sig/ops_clamp.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-10-03 17:15:43 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-10-03 17:15:43 -0700
commitb7b24205fc2e88278bfc6477c9f3f2eb8c59f369 (patch)
tree519b6e4856346f8dd437890007b82f077a8a11c5 /src/libs/sig/ops_clamp.c
parent271889386861ab8685cebddcebeaa87eea3fa417 (diff)
modules/asc: add justify= and [hv]offset= settings
justify= now supports "aligned" and "offsetted", justify=aligned being the existing behavior where you would specify halign={left,right,center} and valign={top,bottom,center}. When justify=offsetted is specified however, {valign=,halign=} are unused and instead {hoffset=,voffset=} are expected, as either hoffset=auto/voffset=auto for automagic offsetting according to the x/y coords, or explicit offsetting using -1..+1 normalized fractional values serving as coordinates within the rendered text's rectangle where to anchor the x/y coordinate. By using halign=auto,valign=auto one can carelessly vary the x/y coordinates using the taps (i.e. via rkt) without having to deal with justification concerns (modulo large texts that can't possibly fit), as the offsets will automatically adapt according to the coordinates.
Diffstat (limited to 'src/libs/sig/ops_clamp.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved