[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    Re: [cairo] render text along path
From:       Dirk_Schönberger <dirk.schoenberger () sz-online ! de>
Date:       2008-11-24 19:41:08
Message-ID: 018e01c94e6c$b2d97500$14b2a8c0 () rincewind
[Download RAW message or body]

> Apologies if this has come up before (as I suspect it has).  I need to be
able to render text along a path, in the style of the inkscape "Put on
> Path" function.

I don't think such functionality is (or should be) part of Cairo.
What I could see is some kind of utility method which works on cairo_path_t
which calculates the "normal vector" (or something like that) for a given
relative postition of the path.

From what I know, text on a path just draws each glyph rotated and
transformed as defined by some relative coordinate. This roation and
transformation can be stored as the above mentioned "normal vector".

Regards
Dirk



_______________________________________________
cairo mailing list
cairo@cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic