5 Snip Functions
(snip-width snip) → real? |
The width of a snip in the parent pasteboard.
(snip-height snip) → real? |
The height of a snip in the parent pasteboard.
(snip-min-width snip) → real? |
The minimum width of the snip
(snip-min-height snip) → real? |
The minimum height of the snip.
(snip-parent snip) → (is-a?/c pasteboard%) |
The pasteboard that contains the snip.
init-acc : any/c |
Applies f to all snips in the parent of snip, starting with snip.
(for-each-snip f first-snip more ) → void? |
more : list? |
Applies the function to each snip in the parent of first-snip, starting with first-snip. If more lists are supplied, they are used for extra arguments to f, just like extra lists provided to for-each.
more : list? |
Applies the function to each snip in the parent of first-snip, starting with first-snip, and accumulates the results into a list. If more lists are supplied, they are used for extra arguments to f, just like extra lists provided to map.
(stretchable-width? snip) → boolean? |
True if the snip can be resized in the X dimension.
(stretchable-height? snip) → boolean? |
True if the snip can be resized in the Y dimension.