A parameter that is used to determine the bounding box
created with text
The drawing context installed in this parameter need not be the same
as the ultimate drawing context, but it should measure text in the same
way. Under normal circumstances, font metrics are the same for all
drawing contexts, so the default value of dc-for-text-size is
a bitmap-dc% that draws to a 1-by-1 bitmap.
Draws pict to dc, with its top-left corner at offset
Returns a bitmap%
with an alpha channel, no larger than pict
, with pict
drawn on it in the top-left corner (0
Generates a pict-drawer procedure for multiple renderings of
. Using the generated procedure can be faster than
repeated calls to draw-pict
Opens a frame that displays pict. The frame adds one method,
set-pict, which takes a pict to display. The optional
w and h arguments specify a minimum size for the
frame’s drawing area.
A parameter used to refine text measurements to better match an
expected scaling of the image. The scale/improve-new-text
form sets this parameter while also scaling the resulting pict.