Thanks for the swift reply Holger! I like the idea of the Symbol tag.

I don't have enough complete at the moment to demonstrate my plan with
an example, but I've created this graphic. I hope it explains my
question a bit better.

http://www.godice.com/resize_percent_points.jpg

Using a percentage means that the gap aroudn the edges will change in
'thickness'. I guess a fixed padding-value is what I'm looking for.. I
just don't know how to express that in SVG.

Thanks again.

--- In [email protected], Holger Will <[EMAIL PROTECTED]> wrote:
> d1cey wrote:
> 
> > It is possible to nest elements into a <g>roup and resize the group
> > itself, but is it possible to give it x1, y1, x2, y2 co-ordinates for
> > the resize instead? ("Okay Group, Scale yourself to fit in this
> > bounding box" � type thing.)
> 
> you would use a symbol for that e.g
> <symbol id="graph" viewBox="0 0 300 100">
> <!-- your graph-->
> </symbol>
> 
> <use xlink:href="#graph" x="10" y="10" width="600" height="200"/>
> 
> >
> > Is it possible to give co-ordinates based on a location other than the
> > origin? EG: You'd like to draw a line from (10,10) to a point 10
> > pixels from the bottom, and 10 pixels from the right, no matter the
> > size of the window.
> 
> you can use percentages:
> <line x1="10%" y1="10%" x2="90%" y2="90%"/>
> 
> > If you hadn't guessed, I'm building a graph� But I need room at the
> > top and bottom (and perhaps sides) for data (scale markers, title,
> > etc.). I've tried building the grid in a group, scaling it .9, and
> > translating it downward� This works well for the top, but the amount
> > of space on the bottom is inconsistent (its width depends on the size
> > of the browser window.)
> 
> could you post an example ?
> 
> 
> regards
> Holger





-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to