W3C home > Mailing lists > Public > www-svg@w3.org > April 2003

Re: Grid layouts and zIndex.

From: Cameron McCormack <clm@csse.monash.edu.au>
Date: Wed, 23 Apr 2003 17:34:01 +1000
To: www-svg@w3.org
Message-ID: <20030423073401.GB2614@jade.bpa.nu>

Hi Fred.

Fred P.:
> Tell me now where is the problem
> with your grid, painting layers
> or 3D grid thing?

I think the problem with this method is that you are required to mention
the objects in the grid or table in a row-major, column-minor order,
which would force you to have this rendering order.  If you wanted, say,
a 3x3 arrangement of objects, layed out automatically with this
grid-mechanism, but you wanted another object to appear over the centre
object, but behind the outer objects, you wouldn't be able to.

Similar situations where this happens already exist -- for
example if you have a <g/> which you'll <use/> later on, and you want an
object to appear somewhere in the middle of it (on the Z axis).  In this
case though you could decompose the used <g/> and do it manually with
the new object inserted in the middle.  But with the grid layout that
won't work; you can't decompose the grid because the grid needs to be
all together for it to determine the appropriate {x,y,width,height}s for
the grid elements.


PS: I'm new to the list.  Hi everyone!

Cameron McCormack
  // clm@csse.monash.edu.au
  // http://www.csse.monash.edu.au/~clm/
  // icq 26955922
Received on Wednesday, 23 April 2003 03:36:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:55 UTC