Bug 50363

Summary: Add an utility to convert SVG paths into cairo_path_t
Product: cairo Reporter: Juan Pablo Ugarte <juanpablougarte>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: enhancement    
Priority: medium CC: freedesktop
Version: 1.12.2   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Utility to convert SVG to cairo_path_t
Utility to convert SVG to cairo_path_t

Description Juan Pablo Ugarte 2012-05-25 15:06:31 UTC
Created attachment 62111 [details]
Utility to convert SVG to cairo_path_t

I think it would be useful for some people (it is for me) an utility to convert a SVG path string into a cairo_path_t

Any comments?
Comment 1 Behdad Esfahbod 2012-05-25 16:01:46 UTC
Also check:

http://git.gnome.org/browse/pango/tree/examples/cairoshape.c
Comment 2 Juan Pablo Ugarte 2012-05-27 20:05:09 UTC
Created attachment 62150 [details]
Utility to convert SVG to cairo_path_t

Fixed source output
Comment 3 Juan Pablo Ugarte 2012-05-27 20:10:49 UTC
(In reply to comment #1)
> Also check:
> 
> http://git.gnome.org/browse/pango/tree/examples/cairoshape.c

I did, pretty nice, but the idea is to be able to use a svg edited with any graphics application like Inkscape and integrate it directly in the build system.

Take a look at my blog post
http://blogs.gnome.org/xjuan/2012/05/28/svg-cairo_path_t-fun/
Comment 4 GitLab Migration User 2018-08-25 14:01:30 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/314.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.