[ab] Naming of drawing functions
Luke J Crook
luke at balooga.com
Sat Sep 23 12:36:47 CDT 2006
Justin Heyes-Jones wrote:
> I quite like draw-rect and draw-filled-rect
>
> or draw-rect with an &optional filled parameter
So something like:
(draw-rect RECTANGLE)
(draw-rect-pp POINT1 POINT2)
(draw-rect-xy x0 y0 x1 x1)
(draw-filled-rect-pp POINT1 POINT2)
(draw-filled-rect-xy x0 y0 x1 x1)
or
(draw-rect RECTANGLE)
(draw-rect-pp POINT1 POINT2)
(draw-rect-xy x0 y0 x1 x1)
(draw-rect-pp POINT1 POINT2 :fill t)
(draw-rect-xy x0 y0 x1 x1 :fill t)
Can't do &optional parameters as these functions take several keyword
args; update-p, clipping-p, color, surface etc.
- Luke
More information about the application-builder
mailing list