Re: Length of bezier curve

Behdad Esfahbod <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAF63+7WJQ7RD9tG1aAgb7_r48r3o7cOVhRsEbn1h=f4SqEqepg@mail.gmail.com>
See:
https://github.com/fonttools/fonttools/blob/master/Lib/fontTools/misc/bezierTools.py#L142

On Thu, Jan 4, 2018 at 5:08 AM, Plugin Everything <[email protected]>
wrote:

> Hi. I'm drawing a bezier curve and want to only stroke a portion of it,
> 50% for example. So I'm using cairo_set_dash to do that, but I need to know
> the length of the curve for that to work. Does anyone know how to calculate
> the length of the bezier curve? Thank you.
>
> --
> cairo mailing list
> [email protected]
> https://lists.cairographics.org/mailman/listinfo/cairo
>



-- 
behdad
http://behdad.org/

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.