mirror of
https://github.com/penpot/penpot.git
synced 2026-09-11 06:28:47 +00:00
Add impl for some geom functions for image shapes.
This commit is contained in:
parent
eeb141cb8e
commit
7c92ad390a
@ -141,6 +141,7 @@
|
|||||||
:text (size-rect shape)
|
:text (size-rect shape)
|
||||||
:rect (size-rect shape)
|
:rect (size-rect shape)
|
||||||
:icon (size-rect shape)
|
:icon (size-rect shape)
|
||||||
|
:image (size-rect shape)
|
||||||
:path (size-rect shape)))
|
:path (size-rect shape)))
|
||||||
|
|
||||||
(defn- size-rect
|
(defn- size-rect
|
||||||
@ -678,6 +679,7 @@
|
|||||||
:text (text-transformation-matrix state shape)
|
:text (text-transformation-matrix state shape)
|
||||||
:circle (circle-transformation-matrix state shape)
|
:circle (circle-transformation-matrix state shape)
|
||||||
:icon (icon-transformation-matrix state shape)
|
:icon (icon-transformation-matrix state shape)
|
||||||
|
:image (icon-transformation-matrix state shape)
|
||||||
:path (path-transformation-matrix state shape)
|
:path (path-transformation-matrix state shape)
|
||||||
:group (group-transformation-matrix state shape))))
|
:group (group-transformation-matrix state shape))))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user