6.8 dc<%>
A dc<%> object is a drawing context for drawing graphics and
text. It represents output devices in a generic way; e.g., a canvas
has a drawing context, as does a printer.
The drawing methods, such as
draw-rectangle, accept real number values as arguments, but the results are only
well-defined when the drawing coordinates are in the range
-16383 to 16383. This restriction applies to the
coordinates both before and after offsets and scaling factors are
applied.
Methods
clear
draw-arc
draw-bitmap
draw-bitmap-section
draw-ellipse
draw-line
draw-lines
draw-path
draw-point
draw-polygon
draw-rectangle
draw-rounded-rectangle
draw-spline
draw-text
end-doc
end-page
get-background
get-brush
get-char-height
get-char-width
get-clipping-region
get-font
get-gl-context
get-origin
get-pen
get-scale
get-size
get-smoothing
get-text-background
get-text-extent
get-text-foreground
get-text-mode
glyph-exists?
ok?
set-background
set-brush
set-clipping-rect
set-clipping-region
set-font
set-origin
set-pen
set-scale
set-smoothing
set-text-background
set-text-foreground
set-text-mode
start-doc
start-page
try-color