Re: [ROOT] fill an area

From: Valeriy Onuchin (onuchin@sirius.ihep.su)
Date: Tue Aug 21 2001 - 13:42:03 MEST


 Hi Christian,
check $ROOTSYS/test/Aclock.cxx code.
It has exactly what you want ( see "class TPolygon" )

HTH    Regards.    Valeriy


Christian Hansen wrote:

>
>
> Hi everybody,
>
> I need to be able to fill an arbitrary area with a color.
>
> I've tried to use PaintPolyLine on a TPolyLine, but I don't manage to
> define in a correct way a TPolyLine, I guess since I don't know what to
> write for the "option" (cannot find any example in the Users Guide).
>
> If anybody could give me hints how to get the attached macro working I
> would be very glad...
>
> Cheers,
> / Christian Hansen
>
> -



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:58 MET