]> git.mdlowis.com Git - proto/labwc.git/commit
common/box: add box_fit_within()
authorJohn Lindgren <john@jlindgren.net>
Sat, 5 Oct 2024 13:45:48 +0000 (09:45 -0400)
committerJohn Lindgren <john@jlindgren.net>
Mon, 7 Oct 2024 01:30:33 +0000 (21:30 -0400)
commit22e50aa4e2f47e236c88fd1ec60f621b1ddda6ab
treeaf936f225af15809c48b026e1f353df0a6358d08
parent465aac5514de492ab1ff6eff0f826e71f9ab3cf0
common/box: add box_fit_within()

Factor out common math from ssd's get_scale_box() for use elsewhere.
include/common/box.h
src/common/box.c
src/ssd/ssd-part.c