4 Pict Drawing Adjusters
Scales a pict drawing, as well as its bounding box
. The drawing
is scaled by adjusting the destination dc<%>
’s scale while
drawing the original pict
Scales pict so that it fits within the bounding box of
size-pict (if two arguments are supplied) or
into a box of size width by height
(if three arguments are supplied).
The aspect ratio of the pict is preserved, so the resulting pict
will have either the width or the height of the size-pict
(or width by height box), but not necessarily
Rotates a pict’s drawing by theta radians counter-clockwise.
The bounding box of the resulting pict is the box encloses the rotated
corners of pict (which inflates the area of the bounding
box, unless theta is a multiple of half of pi). The
ascent and descent lines of the result’s bounding box are the
horizontal lines that bisect the rotated original lines; if the ascent
line drops below the descent line, the two lines are flipped.
Creats a container picture that doesn’t draw the child picture,
but uses the child’s size.
Selects a specific pen width for drawing, which applies to pen drawing
for pict that does not already use a specific pen width.
A #f value for w makes the pen transparent (in contrast
to a zero value, which means “as thin as possible for the target device”).
(linestyle style pict) → pict?
| ||style|| ||:|| |
|(one-of/c 'transparent 'solid 'xor 'hilite|
| 'dot 'long-dash 'short-dash 'dot-dash|
| 'xor-dot 'xor-long-dash 'xor-short-dash|
| pict : pict?|
Selects a specific pen style for drawing, which applies to pen drawing
for pict that does not already use a specific pen style.
Selects a specific color drawing, which applies to drawing in
that does not already use a specific color. The
parameter causes all non-white colors to be
converted to black.
Makes the given pict
semi-transparent, where an opacity of
is fully transparent, and an opacity of 1
opaque. See set-alpha
for information about the
contexts and cases when semi-transparent drawing works.
Insets and clips the pict’s drawing to its bounding
. Usually, the inset amounts are negative.
A parameter that determines whether colorize
uses color or