Draws the pinboard objects which intersect a given rectangle in a pinboard-layout.
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.CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017