[ab] a rectangle generic
Samium Gromoff
_deepfire at feelingofgreen.ru
Sun Feb 4 22:37:57 CST 2007
At Mon, 05 Feb 2007 07:35:41 +0300,
Samium Gromoff wrote:
>
> At Sun, 04 Feb 2007 17:49:34 -0800,
> Luke J Crook wrote:
> > Samium Gromoff wrote:
> > > The rectangle generic could produce the rectangle of the surface.
> > >
> > > The example above is really dubious, it should have been something like
> > >
> > > (sdl:draw-box (sdl:rectangle surface) :surface surface)
> >
> > That sounds reasonable. Trouble is that sdl:rectangle creates a new
> > rectangle.
>
> Oh, i missed that..
>
> > How about:
> >
> > GET-CLIP-RECT - We already have this one defined. It gets the clip
> > rectangle for the surface.
> > GET-SURF-RECT - Get the rectangle that describes the surface
> > GET-CELL-RECT - Get the rectangle used for drawing the current cell in a
> > sprite sheet.
>
> hmm, probably dropping the get- prefix might make it less redundant?
oh, and in this case, i suppose, they can be accompanied by setf
methods, as well..
> otherwise than that, it's perfectly fine by me.
>
> > - Luke
>
> regards, Samium Gromoff
More information about the application-builder
mailing list