diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-04-11 10:40:08 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-04-11 10:43:07 +0200 |
commit | bfd6f267ef2235dd758ea5b5a02fa47d78b6b989 (patch) | |
tree | 8c03fef4e38b114fb1a693287b9320760c8d463f | |
parent | 860145884e4f883f01948579eee43e17b006924a (diff) |
Add ghost.
-rw-r--r-- | pict.scm | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -91,6 +91,7 @@ pin-over pin-under + ghost ;; colors rgb @@ -415,6 +416,15 @@ strings that are built from the list of attributes LST." #:border-color color #:border-width stroke-width))) +(define (ghost pict) + "Create an empty picture with the same size as PICT." + (make-pict + `(svg (@ (height ,(pict-height pict)) + (width ,(pict-width pict)) + (class "ghost") + (x 0) + (y 0))))) + ;;; SVG graphics primitives. |