[m-rev.] Xlib interface for extras
Julien Fischer
juliensf at cs.mu.OZ.AU
Thu Sep 23 15:32:39 AEST 2004
On Thu, 23 Sep 2004, Ralph Becket wrote:
> Ralph Becket, Thursday, 23 September 2004:
> > Julien Fischer, Thursday, 23 September 2004:
> >
> > > Also, there doesn't seem to be any (easy) way of drawing a single
> > > pixel at a particular location - I suggest you add a draw_pixel
> > > predicate.
> >
> > Hmm. The abstract coordinate system doesn't really work in terms of
> > pixels (although you can give line widths in pixels). It would be
> > easy to add, I suppose. I'll do that to keep you happy.
>
> I've added xlib.draw_point and easyx.draw_point, but I'm really not
> sure the latter is any use. The right way to plot a "point" in the
> easyx world is to fill a rectangle.
>
In which case, just have the draw_point predicate do that.
Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list