On Sun, Oct 22, 2000 at 05:31:20PM -0400, Lee wrote:
> > yes I had a look at it. But it seems only to offer the possibility
> > to /raster/ a polygon. I don't see how it could use ggiDrawHLine().
> > It seems that it should not raster a polygon, but return a set
> > of h-lines (that's sort of rastering in the vertical direction).
>
> Pretend I'm stupid. What does this rastering business mean? What should
> GGI have?
rastering means: given a certain resolution, calculate single pixels
which have to be set or not set. Once a polygon is rastered, I'd have
to set every single pixel of the destination frame. This is probably
more expensive than using accelerated function (X has both line and
polygon functions, which might be accelerated depending on the
Server).
Or: don't make up your mind about rastering, what I need is
a function to draw filled triangles. That's all. Just a suggestion.
I'd love to help the ggi project with this, but my time is currently
severly limited. I just wanted to point out that I think that
drawing filled triangles is a fundamental function which shouldn't
miss in a graphics library.
--
Johannes