Hi Anton, Iconizing a canvas and back will not force a call to the TH1 drawing functions. The TCanvas::Update function is only called when the canvas content has been modified, or the scale of the canvas modified by growing/shrinking its dimensions with the mouse. Rene Brun On Fri, 26 Mar 1999, Anton Fokin wrote: > Hi rooters, > > I wonder if a histogram will be actually drawn (i.e. histogram->Draw() will > consume the same amount of processor time and go through the the same code) > if a Canvas is iconized/hidden/etc. Or it's my duty to check if a histogram > is hidden and doesn't need to be redrawn. Also, if I go from an iconized to > normal Canvas, will it force automatic redraw update for all histograms > belonging to the Canvas? > > Best regards, > > Dr. Anton Fokin > > Division of Cosmic and Subatomic Physics > Lund University > Sweden > >
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:30 MET