netterfield at physics.utoronto.ca
Wed Oct 19 22:23:55 CEST 2005
Last night I changed the interface so that these calls are no longer used, and
I have now removed them. _absFontSize is now purely internal to plotlabels.
To update the abs size of the font, call KstPlotLabel::updateAbsFontSize(int
x_pix, int y_pix) with the size of the plot that the labels are contained in.
If you don't call it, then the the font size will be stale, and wrong, but
On October 19, 2005 03:41 pm, George Staikos wrote:
> On Monday 17 October 2005 17:04, Barth Netterfield wrote:
> > font size is the relative font size which gets saved. The axis numbers
> > never use this except that it gets set to something. Only the x,y,top
> > labels use this.
> > abs font size is converted from font size by kst2dplot::scaleFontSize,
> > but I want to move this to be a static member function of kstplotlabel.
> Shouldn't setAbsFontSize() and setFontSize() be synchronize in some way?
> Even if we don't currently miss calling one or the other, we could at some
> point. The interface really isn't clear.
More information about the Kst