With script it is pretty easy. See, for example: 
http://srufaculty.sru.edu/david.dailey/svg/curve.svg

hope this helps
David
  ----- Original Message ----- 
  From: honyk 
  To: [email protected] 
  Sent: Monday, January 03, 2011 2:57 PM
  Subject: [svg-developers] Graphics on path


    
  Hello Everyone,

  is there any way how to place some graphics on the path similarly as it is
  possible with the text? I've found 'markers' only, but they can be placed on
  start/mid/end of the path only.

  What I am trying to achieve is a scale on the parabolic-like curve. I can
  calculate path points, to render text on the path (individual values with
  the step of 10 degreees placed to the appropriate positions using the
  startOffset attribute in percents) so it is rotated according to the path,
  but unfortunately, I cannot use a similar way for rendering major/minor tick
  marks (to specify graphics with the orientation 'auto' and place it on the
  path using the startOffset attribute). I'll have to calculate these ticks
  manually which seems to me quite annoying (and in case of complex paths like
  my parabola-like curve also quite complex).

  I think it is pity something like this is not covered in the standard as the
  logic is already available for rendering the text on the path. I can imagine
  that markers could be generalized and not restricted to the predefined
  positions only...
  I can even imagine that this graphics on the path could be also have similar
  property to the text-anchor, which would specify rendering position... This
  graphics would be processed in the same way as the glyphs... And what could
  be also implemented that color properties could be optionally inherited from
  the defined (mother) path. (Because of this limitation the arrow color can
  be changed in Inkscape via extension only)

  But this is 'proposal' for the future. Any clue for now?

  Regards,

  Jan



  

[Non-text portions of this message have been removed]



------------------------------------

-----
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> 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