Draws the pinboard objects which intersect a given rectangle in a pinboard-layout.
capi
draw-pinboard-layout-objects pinboard-layout graphics-port x y width height => nil
pinboard-layout⇩ | |
graphics-port⇩ |
A graphics port. |
Non-negative integers. |
The function draw-pinboard-layout-objects
draws the pinboard objects in pinboard-layout which intersect the rectangle specified by x, y, width and height into the graphics port graphics-port.
graphics-port can be pinboard-layout itself or another graphics port. The drawing is done into the target rectangle, but may also draw outside it.
draw-pinboard-layout-objects
is used by pinboard-layout when it actually needs to display the objects.draw-pinboard-layout-objects
does not do any caching. The display-callback of pinboard-layout does any caching, and may use draw-pinboard-layout-objects
to draw into a cache (a pixmap) rather than the screen.draw-pinboard-layout-objects
is useful when you want to have your own display-callback for a pinboard-layout or a subclass. It is possible to use a graphics transformation on graphics-port around the call to draw-pinboard-layout-objects
to affect the drawing. For example with-graphics-translation can be used to move the drawing to the origin.
pinboard-layout
pinboard-layout-display
12 Creating Panes with Your Own Drawing and Input
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42