[rrd-developers] Re: Piecharts

Tobias Oetiker oetiker at ee.ethz.ch
Wed Mar 13 08:46:22 MET 2002


Today Alex van den Bogaerdt wrote:

>
> Alex van den Bogaerdt wrote:
>
> > >   B             A
> > >     ----------.
> > >     \         . f
> > >      \       .
> > >       \    .  e
> > >        \.   d
> > >         C
> >
> > Ack.  However, this didn't seem to work due to the final LINETO.
>
> Duh, I shouldn't post this late.  What I ment is that the final
> line from C to A drawn by gfx_new_area() probably is the culprit.

Hi Alex,


Well adding a new function is ok, but I can not see what problem
this solves ... what was causing problems for you was most likely
the fact that I did number the points the wrong way round ... if
you draw them C B A and then add f e d things should work ...
by using the primitive operations I have defined in rrd_gfx and
bilding on them instead of going into rrd_gfx and adding code there
would be that the whole graphing engine bit stays small and easy to
manage ... so at least I would suggest zou use the rrd_gfx
primitives in the gfx_arc_sect code instead of art_ primitieves ...
if this is ok with you I will change the code ...

cheers
tobi


-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland
 / // _ \/ _ \/ / phoneto:+41(0)1-632-5286  faxto:+41(0)1-632-1517
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://google.com/search?q=tobi


--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-developers mailing list