[cairo] Text Along Path
behdad.esfahbod at gmail.com
Tue Nov 24 10:13:11 PST 2015
On 15-11-23 05:42 PM, Lawrence D'Oliveiro wrote:
> On Mon, 23 Nov 2015 16:01:14 -0600, Behdad Esfahbod wrote:
>> On 15-11-23 04:00 PM, Behdad Esfahbod wrote:
>>> If you'd rather transform the glyph outlines as well, I've put code
>>> for that out here:
> More elaborate than my example, that’s for sure. Did you look at doing
> your own de Casteljau decomposition of Bézier curve segments, to give
> more control over the error tolerances?
> Also if you use hypot(3) instead of sqrt(3), your two_points_distance
> function could be done in one line.
Both are valid points. I wrote this many years ago, and serves as proof of
concept rather than fully fleshed out code.
More information about the cairo