Fine, Valeri wrote:
> What about
> http://root.cern.ch/root/html522/TPolyLine.html
> One can draw the contour of the polyline or/and its fill area
Thanks! That works just fine.
Two further questions about this:
Tom Roberts
> . . . "
>
> Best Regards
> Valeri Fine
> ---------------
> Brookhaven National Laboratory
> Upton, NY 11973, USA
> Phone: +1 631 344 7806
> Fax: +1 631 344 4206
> E-mail: fine_at_bnl.gov
>
>> -----Original Message----- >> From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch]
>> Behalf Of Tom Roberts >> Sent: Thursday, March 12, 2009 5:50 PM >> To: 'ROOT Talk' >> Subject: [ROOT] Drawing an angled box >> >> I have a need to draw a colored rectangle with arbitrary orientation
>> the screen; TBox does not do that. I do not need lines around the
>> so it is tempting to use a big fat line. Unfortunately, linewidth is >> specified in pixels, and widths greater than about 80 pixels don't
>> The first is easily handled with a coordinate conversion, but the
>> means I have to draw multiple lines, a much bigger complexity. >> >> Is there a good way to do this? >> >> The base data I start with are: Xcenter, Ycenter, width, >> height, angle, color. The first 4 are in user coordinates; >> angle is in degrees; color is R,G,B. >> >> >> Tom Roberts
This archive was generated by hypermail 2.2.0 : Fri Mar 13 2009 - 11:50:02 CET