Bug 50363 - Add an utility to convert SVG paths into cairo_path_t
Summary: Add an utility to convert SVG paths into cairo_path_t
Status: RESOLVED MOVED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.12.2
Hardware: Other All
: medium enhancement
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-25 15:06 UTC by Juan Pablo Ugarte
Modified: 2018-08-25 14:01 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Utility to convert SVG to cairo_path_t (19.29 KB, text/x-csrc)
2012-05-25 15:06 UTC, Juan Pablo Ugarte
Details
Utility to convert SVG to cairo_path_t (19.31 KB, text/x-csrc)
2012-05-27 20:05 UTC, Juan Pablo Ugarte
Details

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.