Re: [ROOT] When things get small.

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Apr 27 2001 - 21:53:59 MEST


Hi Brett,
TPad::PaintBox could be easily modified to set a minimum number
of pixels for the box.
However, you seem to imply that currently you have cases where
you do not see the box at all, not even one pixel !
Could you send me a very short macro with the box parameters
and the canvas/pad size to reproduce this problem ?

Rene Brun


On Thu, 26 Apr 2001, Brett Viren wrote:

> Hi,
> 
> I am using TBox'es to draw some hit detector elements on to a TPad.
> At the default zoom these TBox'es get drawn either very small or not
> at all.  To solve this I would like some way to give the elements an
> artificial minimum size in pixels (say 1x1 or 2x2 pixels).
> 
> This would work if, for example, TBox's Fill Style and Line Width were
> both honored. However, if TBox::SetFillStyle() is called, then the
> Line Width is ignored.  (It looks as though TPad::PaintBox and
> TGX11::DrawBox would need to be non-trivially modified to change this
> behavior.)
> 
> Is there currently some way to do what I want?
> 
> -Brett.
> 



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