[cairo] Survey of polygon rasterization techniques

David Turner david at freetype.org
Tue Jul 31 08:18:25 PDT 2007


well, given that the code in question fills a pixel gray map
from a set of line segments and bezier paths, I would say it
is a rasterizer. Maybe Inkscape uses something else as well,
but I can't see how this would be part of potrace
(which does exactly the opposite: read a pixel gray map and
generate line segments and beziers)

- David

On Wed, 1 Aug 2007 00:46:56 +1000, "Nigel Tao" <nigel.tao.gnome at gmail.com> said:
> On 31/07/07, David Turner <david at freetype.org> wrote:
> > On Tue, 31 Jul 2007 18:57:50 +1000, "Nigel Tao" <nigel.tao.gnome at gmail.com> said:
> > > I'm not familiar with the code, but does Inkscape's rasterizer
> > > (livarot??) fall under this category?
> >
> > From the source code at:
> >
> > http://inkscape.modevia.com/doxygen/html/render_8cpp-source.php
> >
> > I would say you're right.
> 
> That looks like potrace code (and Inkscape's source tree has a copy of
> potrace), but that file that you linked to is not necessarily
> Inkscape's rasterizer, IIUC.


More information about the cairo mailing list