[ab] API Status
Luke Crook
luke at balooga.com
Thu Jan 4 20:46:53 CST 2007
The lispbuilder-sdl API seems to have stabilized. I'm still trying to come up
with decent names for several of the functions in 'draw-primitives.lisp'. I'm
also trying to decide if these functions should take POINTS or separate x/y
coordiates as input parameters. i.e. I'm trying to figure out the API's of
least surprise. For example:
- 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?
- Luke
More information about the application-builder
mailing list