text size of TPaveText

From: Ulrich Jost (jost@evalo1.ific.uv.es)
Date: Thu May 27 1999 - 18:56:18 MEST


Hi,

I have
annotation = new TPaveText(0, 0, 1, 1, "brNDC");
and don't know beforehand the number of lines. After filling it, I want to
set the maximum possible text size. I tried
annotation->SetTextSize(1/annotation->GetListOfLines()->Capacity());
and then 
annotation->Draw("brNDC");
in a canvas defined with size 0,0,450,450 but the characters are too
small, ie there is a lot space left between the lines.

Thanks, Ulrich



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:33 MET