diff options
author | Colin Okay <colin@cicadas.surf> | 2022-07-06 09:33:14 -0500 |
---|---|---|
committer | Colin Okay <colin@cicadas.surf> | 2022-07-06 09:33:14 -0500 |
commit | fda1d9d08349dfe103b7af3ef8f305c1701933f6 (patch) | |
tree | 5cb896cf87d140df5bd05cb1f56566cfb0f17407 /src/protocol.lisp | |
parent | 8c94460d8c8f8b44ca9bcdebbf2906e84c969b19 (diff) |
[refactor] containers have render bounds
Diffstat (limited to 'src/protocol.lisp')
-rw-r--r-- | src/protocol.lisp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/protocol.lisp b/src/protocol.lisp index 58120cd..df3c170 100644 --- a/src/protocol.lisp +++ b/src/protocol.lisp @@ -56,3 +56,7 @@ (defgeneric (setf scale-x) (newvval thing)) (defgeneric scale-y (thing)) (defgeneric (setf scale-y) (newval thing)) +(defgeneric get-rect (affine) + (:documentation "Returns a list of vectors representing the path of + the smallest rectangle that encloses the affine-unit. The rectangle + is scaled and rotated.")) |