Make boxes scale in a more stable way.
This commit is contained in:
@ -65,10 +65,10 @@ gstack value gp
|
|||||||
graphics definitions also internals
|
graphics definitions also internals
|
||||||
|
|
||||||
: box { left top w h }
|
: box { left top w h }
|
||||||
left sx * tx + 16 arshift
|
left sx * tx + 16 arshift { l } l
|
||||||
top sy * ty + 16 arshift
|
top sy * ty + 16 arshift { t } t
|
||||||
w sx * 16 arshift
|
left w + sx * tx + 16 arshift l -
|
||||||
h sy * 16 arshift
|
top h + sy * ty + 16 arshift t -
|
||||||
raw-box
|
raw-box
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user