added fill-rectangle*

This commit is contained in:
frese 2003-04-03 19:44:00 +00:00
parent e23ad93017
commit c610256b80
1 changed files with 4 additions and 0 deletions

View File

@ -328,6 +328,10 @@
(draw-lines dpy win gc (list (cons x2 y1) (cons x2 y2) (cons x1 y2)) (draw-lines dpy win gc (list (cons x2 y1) (cons x2 y2) (cons x1 y2))
(coord-mode origin)))) (coord-mode origin))))
(define (fill-rectangle* dpy win gc rect)
(fill-rectangle dpy win gc (rectangle:x rect) (rectangle:y rect)
(rectangle:width rect) (rectangle:height rect)))
(define (invalidate-window dpy win) (define (invalidate-window dpy win)
(let ((wa (get-window-attributes dpy win))) (let ((wa (get-window-attributes dpy win)))
(clear-area dpy win 0 0 (window-attribute:width wa) (clear-area dpy win 0 0 (window-attribute:width wa)