Re: stretching a shape along a path
Lawrence D'Oliveiro <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Organization | Geek Central |
| Message-ID | <[email protected]> |
On Fri, 15 Jan 2016 11:40:12 -0800, Brian Merchant wrote: > I am wondering how I can stretch a shape along a path. Take for > example this picture: http://i.imgur.com/5TxrZeI.png > > In the example, a triangle is "stretched" along a Bezier path. > > How would I reproduce such an effect using Cairo? Perhaps flatten the path, subdivide the resulting segments into smaller segments, then remap the points according to the deforming curve. -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo