User avatar
stonstad
Topic Author
Posts: 243
Joined: 06 Jun 2016, 18:14
Location: Lesser Magellanic Cloud
Contact:

Geometry Group vs Canvas Performance for SVGs

18 Aug 2023, 19:25

When converting from SVG, Is using a Geometry Group faster or more memory efficient than a Canvas? i.e. what the recommended best practice?

i.e.

<Canvas><Path ... </> vs
<GeometryGroup><Geometry ... </>

Is the Noesis team aware of any differences in quality of output betrween Figma2xaml vs Inkscape export?

Thank you!
 
User avatar
sfernandez
Site Admin
Posts: 3067
Joined: 22 Dec 2011, 19:20

Re: Geometry Group vs Canvas Performance for SVGs

23 Aug 2023, 17:16

If different paths have different fill/stroke you have to use a Canvas.

If all the paths share the same fill/stroke it would be more performant to use a GeometryGroup, unfortunately it is not correctly implemented in Noesis (#1777). Although you can export as separate paths, select them in Blend and open the context menu 'Path' > 'Make Compound Path', to merge all geometry data in the same path.
Is the Noesis team aware of any differences in quality of output betrween Figma2xaml vs Inkscape export?
Inkscape export is a lot more reliable than Figma2xaml (which is very very primitive).
 
User avatar
stonstad
Topic Author
Posts: 243
Joined: 06 Jun 2016, 18:14
Location: Lesser Magellanic Cloud
Contact:

Re: Geometry Group vs Canvas Performance for SVGs

24 Aug 2023, 18:01

Thank you!

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 2 guests