The image illustrating the aliasing problem is: https://www.dropbox.com/s/r1hlmpwuagdq8cj/hatch_rendering_zoom.png

> Do you have an idea of the performance of these options?

I think the main concern here is memory usage. In solution 2 if we had a hatch - filled object occupying whole canvas (let's say 1500x1000px)
the cairo pattern surface would take up 5.7MB. The question is if this can be accepted. I'm not sure but I suppose masks and clip paths work
this way.
The performance of third option does not really differ from what we have in current code. I'll have to play a bit with it to check if results are
satisfactory. I think it would be beneficial to turn off antialiasing when rendering the oversampled image. It it possible to do so?

By the way, how can I get to know what SVG area is displayed on canvas?

> Can pattern rendering be handled the same way?

Patterns and hatches share the rendering code. They can be handled the same way. 

> I don't see a way to cleanly export an arbitrary SVG 2 hatch fill/stroke
> to any of these formats, since they do not have user defined hatch
> patterns, only pre-defined hatch patterns.

What if I added a hatch palette "WMF" representing the six predefined WMF hatches? They could
have an specific attribute like inkscape:wmf-type specifing the hatch type. Any other hatches could
be treated as patterns.

As for other file formats, except .dwg, I think it should be safe to convert hatches to patterns for output.

Regards, 
  Tomasz


On Tue, Aug 5, 2014 at 6:26 PM, Tavmjong Bah <tavmjong@...8...> wrote:

Attached...

On Tue, 2014-08-05 at 13:16 -0300, Felipe Sanches wrote:
> Same here. I'm also interested in taking a look at this test file.
>
>
>
> On Tue, Aug 5, 2014 at 1:12 PM, Josh Andler <scislac@...400...> wrote:
>         All I saw was your reply to him. Nothing directly from him or
>         via the list in my inbox or spam folder.
>
>         Cheers,
>         Josh
>
>
>
>         On Tue, Aug 5, 2014 at 9:09 AM, Tavmjong Bah
>         <tavmjong@...8...> wrote:
>                 On Tue, 2014-08-05 at 08:56 -0700, Josh Andler wrote:
>                 > On Tue, Aug 5, 2014 at 7:54 AM, Tavmjong Bah
>                 <tavmjong@...8...> wrote:
>                 >         On Tue, 2014-08-05 at 16:15 +0200, Tomasz
>                 Boczkowski wrote:
>                 >         > I've implemented the rendering of SVG2
>                 hatches
>                 >         > in
>                 lp:~penginsbacon/inkscape/svg-paints-support. How it
>                 >         works can be
>                 >         > seen using a test file attached to this
>                 message. The
>                 >         rectangles in
>                 >         > left columns are filled with hatches,
>                 while the ones in
>                 >         right columns
>                 >         > are reference images consisting of clipped
>                 paths.
>                 >
>                 >
>                 > Would one of you be willing to share the test file?
>
>
>                 Look at the attachment to Tomasz's email...
>
>                 Tav
>
>
>
>
>
>
>
>         ------------------------------------------------------------------------------
>         Infragistics Professional
>         Build stunning WinForms apps today!
>         Reboot your WinForms applications with our WinForms controls.
>         Build a bridge from your legacy apps to the future.
>         http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>         _______________________________________________
>         Inkscape-devel mailing list
>         Inkscape-devel@lists.sourceforge.net
>         https://lists.sourceforge.net/lists/listinfo/inkscape-devel
>
>
>


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@...1794...s.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel