Next: Miscellaneous Operations
Up: DrawClear and Flip
Previous: Strings
-
(((draw-pixmap-posn filename type) viewport) posn color)
draw-pixmap-posn draws an X bitmap into viewport with its
upper left corner at position posn.
type is a symbol, one of 'gif, 'xbm, 'xpm,
'bmp or 'pict. All formats are supported on all platforms
except 'pict which is only supported under MacOS.
type defaults to the extension of filename
If color is not #f it is passed to
set-viewport-pen with the viewport. It defaults to #f. -
(((clear-pixmap-posn filename type) viewport) posn)
clear-pixmap-posn clears an X bitmap into viewport. All of
its arguments are the same as draw-pixmap-posn, except that no
color argument is accepted. -
(((flip-pixmap-posn filename type) viewport) posn color)
flip-pixmap-posn flips an X bitmap into viewport. All of the
arguments are the same as draw-pixmap-posn -
(pixmap-functions filename type)
pixmap-functions constructs the offscreen pixmap corresponding to
filename and type. type is optional, it defaults the
same way as the type argument as draw-pixmap-posn.
pixmap-functions return three values: draw, flip and
clear:
- (draw viewport p color)
draw the pixmap at the posn p in viewport, first setting
the pen to color.
- (clear viewport p)
clear the pixmap at the posn p in viewport.
- (flip viewport p color)
flip the pixmap at the posn p in viewport, first setting
the pen to color.
-
((draw-pixmap viewport) filename p color)
draw-pixmap draws an X bitmap into viewport w with its
upper left corner at position p.
If color is not #f it is passed to
set-viewport-pen with the viewport. It defaults to #f.
This function is for backward compatibility and should not be used. It is
very inefficient. -
((clear-pixmap viewport) filename p)
clear-pixmap clears an X bitmap into viewport with its
upper left corner at p.
This function is for backward compatibility and should not be used. It is
very inefficient. -
((flip-pixmap w) filename p color)
flip-pixmap flips an X bitmap into viewport with its
upper left corner at p.
If color is not #f it is passed to
set-viewport-pen with the viewport. It defaults to #f.
This function is for backward compatibility and should not be used. It is
very inefficient.
Next: Miscellaneous Operations
Up: DrawClear and Flip
Previous: Strings
PLT