[cairo] Obtaining two parallel paths from a single curve

archee@126 archee at 126.com
Tue Jul 29 00:54:22 PDT 2008


Thank you! I think my question is more related to the topic of "parallet curve" and
the following links give out the solution:

http://xahlee.org/SpecialPlaneCurves_dir/Parallel_dir/parallel.html
and
http://en.wikipedia.org/wiki/Parallel_curve


----- Original Message ----- 
From: "Hung Nguyen Vu" <vuhung16plus+shape at gmail.com>
To: "archee at 126" <archee at 126.com>
Cc: <cairo at cairographics.org>
Sent: Tuesday, July 29, 2008 3:35 PMI
Subject: Re: [cairo] Obtaining two parallel paths from a single curve


> On Tue, Jul 29, 2008 at 3:49 PM, archee at 126 <archee at 126.com> wrote:
>> How to obtain two parallel paths from a single curve?
>> Say, these two parallel paths are N pixels away from each other.
> I am not sure but you can take a look at cairo's transformation tutorial,
> that is, copy it with a transformation matrix.
> http://cairographics.org/tutorial/#L1transforms
> 
> 
> -- 
> Best Regards,
> Nguyen Hung Vu ( Nguyễn Vũ Hưng )
> vuhung16plus{remove}@gmail.dot.com , YIM: vuhung16 , Skype: vuhung16dg
> Japan through an eye of a gaijin:
> http://www.flickr.com/photos/vuhung/tags/fav/
>


More information about the cairo mailing list