gzz-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stretching cells (Was Re: [Gzz] Asko 2002-11-22 (client))


From: Tuomas Lukka
Subject: Re: Stretching cells (Was Re: [Gzz] Asko 2002-11-22 (client))
Date: Tue, 26 Nov 2002 10:09:13 +0200
User-agent: Mutt/1.4i

> [stretching cells]
> >  >should use a stencil of box's size. So, is streching actually view's
> >  >feature as in 0.6? If view is allowed to strech cells, it requests the
> >  >size from the current CellView, which passes the request to the current
> >  >CellContentView?
> > Yes.
> 
> With one line cellcontentview this is still trivial, but how should we
> handle multi-line cellcontentviews? When do we strech both cell's width
> and the height and when only height (with rectangular cell)? Should there
> be an option to keep the current aspect ratio of a cell? Anyway, this
> complicates the interface...

Again, by requesting the size from cellcontentview, and then deciding
what to do about it. 

The view is king.

> Currently I'm thinkin about 2D ball cell, where the text is inside the
> cell (AFAIK this was not implemented in 0.6?). Even line divisioning with
> static size don't feel very trivial for me, since every width of the lines
> varies (some kind of array of linewidths should be delivered to
> linebreaker?). And the stretching is, of course, more complicated. I quess
> there is an easy way to calculate lines and their widths inside different
> sizes of circles. Because, I'm quite slow in math, I would appreciate, if
> someone would help with this :)

Circle: x = sqrt(1-y^2)

        Tuomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]