[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Text extent implemented (partially)
From: |
Jaroslav Hajek |
Subject: |
Re: Text extent implemented (partially) |
Date: |
Tue, 9 Mar 2010 14:38:06 +0100 |
On Sun, Mar 7, 2010 at 10:05 PM, Michael Goffioul
<address@hidden> wrote:
> FYI,
>
> I've pushed the following changeset:
>
> http://hg.savannah.gnu.org/hgweb/octave/rev/9f2bf537a651
>
> This implements text extent property, at least the width and
> height parts. The left and bottom are always set to the lower
> left corner of the axes box. It also takes into account the
> rotation of the text, but only multiples of 90 (these are the
> only rotations supported by the renderer anyway).
>
> It also implements correct updaters for the position and
> extent properties (for text objects), so you can basically
> get the text size in pixels.
>
> I think this should be ok to start looking at the legend stuff.
>
> Note that I won't have the time in the coming days to continue
> the implementation, so if anyone want to take over, be my guest.
>
> Michael.
>
So all that is needed to make the extent correct is to add the
position to the extent?
Or is it more complicated?
--
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
Re: Text extent implemented (partially),
Jaroslav Hajek <=
Re: Text extent implemented (partially), Søren Hauberg, 2010/03/09