[ab] Naming of drawing functions

Justin Heyes-Jones justinhj at gmail.com
Sat Sep 23 07:26:44 CDT 2006


I quite like draw-rect and draw-filled-rect

or draw-rect with an &optional filled parameter


On 9/23/06, Luke J Crook <luke at balooga.com> wrote:
> Anyone have any preferences on the naming of the following functions?
>
> To draw a filled rectangle:
>
> (draw-box RECTANGLE)
> (draw-box-pp POINT1 POINT2)
> (draw-box-xy x0 y0 x1 x1)
> (draw-box-wh WIDTH HEIGHT :POINT POINT)
>
> To draw a rectangle outline:
>
> (draw-rectangle RECTANGLE)
> (draw-rectangle-pp POINT1 POINT2)
> (draw-rectangle-xy x0 y0 x1 x1)
> (draw-rectangle-wh WIDTH HEIGHT :POINT POINT)
>
> - Luke
> _______________________________________________
> application-builder mailing list
> application-builder at lispniks.com
> http://www.lispniks.com/mailman/listinfo/application-builder
>


More information about the application-builder mailing list