[ab] API Status
Luke Crook
luke at balooga.com
Mon Jan 8 13:35:40 CST 2007
Frank Buss <fb at ...> writes:
>
> Luke Crook wrote:
>
> > - When you see a DRAW-LINE function, do you expect to pass it
> > (p1 p2), or (x1
> > y1 x2 y2) ?
> > - Would you expect DRAW-BOX to accept a RECTANGLE, (p1 p2) or
> > (x1 y2 x2 y2)
> > - Should DRAW-POINT take p1, should DRAW-PIXEL take x/y?
> > - Should ADD-VERTEX take p1 or x/y?
>
> Maybe something like the CLIM solution:
>
> http://www.lispworks.com/documentation/lw43/CLIM/html/climguide-48.htm
>
> CLIM provides both: The version with x/y is named with a "*" suffix.
I think I like this idea. We have the same performance issue where the 'spread'
versions will be more efficient that the 'point' versions.
- luke
More information about the application-builder
mailing list