Page 78 Table of Contents Index Page 80
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E



CHAPTER 10. DRAWING OPTIONS

=> (setf medium-clipping-region) region medium [Generic Function]
Sets the current clipping region for the medium medium to region. region must be a subclass
of area. Furthermore, some implementations may signal an error if the clipping region is not a
rectangle or a region set composed entirely of rectangles.

=> medium-line-style medium [Generic Function]
The current line style for the medium medium. The line and arc drawing functions render
according to this line style. See Section 10.3 for a complete description of line styles. The
:line-style drawing option temporarily changes the value of medium-line-style.

=> (setf medium-line-style) line-style medium [Generic Function]
Sets the current line style for the medium medium to the line style line-style.

=> medium-default-text-style medium [Generic Function]
The default text style for the medium medium. medium-default-text-style will return a
fully specified text style, unlike medium-text-style, which may return a text style with null
components. Any text styles that are not fully specified by the time they are used for rendering
are merged against medium-default-text-style using merge-text-styles.

The default value for medium-default-text-style for any medium is *default-text-style*.

See Chapter 11 for a complete description of text styles.

=> (setf medium-default-text-style) text-style medium [Generic Function]
Sets the default text style for the medium medium to the text style text-style. text-style must be
a fully specified text style.

Some CLIM implementations may arrange to erase and redraw the output on an output recording
stream when the default text style of the stream is changed. Implementations that do this must
obey the proper vertical spacing for output streams, and must reformat tables, graphs, and so
forth, as necessary. Because of the expense of this operation, CLIM implementations are not
required to support this.

=> medium-text-style medium [Generic Function]
The current text style for the medium medium. The text drawing functions, including ordinary
stream output, render text as directed by this text style merged against the default text style.
This controls both graphical text (such as that drawn by draw-text*) and stream text (such as
that written by write-string). See Chapter 11 for a complete description of text styles. The
:text-style drawing option temporarily changes the value of medium-text-style.

=> (setf medium-text-style) text-style medium [Generic Function]
Sets the current text style for the medium medium to the text style text-style. text-style need
not be a fully merged text style.


Page 78 Table of Contents Index Page 80
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E