[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz] Re: About vobcoorder_fontscale
From: |
Tuomas Lukka |
Subject: |
[Gzz] Re: About vobcoorder_fontscale |
Date: |
Tue, 26 Nov 2002 10:18:32 +0200 |
User-agent: |
Mutt/1.4i |
On Mon, Nov 25, 2002 at 12:04:35PM +0200, Asko Soukka wrote:
> >- How should getFontScale be used with TextStyle and TextVob?
> > RESOLVED: In a bit awkward way, but workable::
> > scale = coords.getFontScale(cs)
> > height = textStyle.getHeight(scale) / scale
> > textcs = coords.ortho(cs, 0, 0, height, height)
> > vs.put(textvob, textcs)
> > This example puts text that is in the natural height of its textStyle
> > inside the coordinate system.
>
> I'm questioning,
Kyseenalaistaa/kuulustella vai kysyä (ask)? ;)
> should we use TextVob only through HBox.place()
> (TextVob implements HBox.VobHBox)?
No.
> If not, when should we use HBox.place()
> and when put TextVob directly by vs.map.put()?
The HBox class is primarily meant for line breaking.
Tuomas