Format of Path Data

Asked by Jeb Gaither

I am new to Inkscape. I drew a shape composed of a series of arcs. The path data is the saved file is:

"M 97,0.93359 A 41.929306,24.429304 0 0 0 59.933594,13.97656 41.929306,24.429304 0 0 0 20.103516,37.9707 99.487518,49.487518 0 0 0 0.5117187,67.3613 99.487518,49.487518 0 0 0 100,116.8496 99.487518,49.487518 0 0 0 199.48828,67.3613 99.487518,49.487518 0 0 0 174.07031,34.41406 41.929306,24.429304 0 0 0 133.05859,12.94922 41.929306,24.429304 0 0 0 97,0.93359 Z"

The "A" indicates that all of the following sets of data are for arcs. It would be helpful if the path data contained an "A" for each arc rather than the option which assumes all the data following the "A" are arcs.

Having the "A"'s included would make it easier for me to integrate the shape into an Embarcadero FireMonkey application.

Obviously I can write a simple routine to add the "A"s or edit the file manually. However, if there is an option in Inkscape, that would be the best solution.

Thank you for your help!

Jeb Gaither

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
su_v
Solved:
Last query:
Last reply:
Revision history for this message
Best su_v (suv-lp) said :
#1

Check Inkscape's preferences - there are options available for how path data is written (see 'Edit > Preferences > Input/Output > SVG Output': Path data).

Changing those preferences settings (you probably want to check '[x] Force repeat commands') will only affect new paths, or paths which are edited after changing the setting. You can trigger a rewrite of the path data by selecting all, and nudging the selection with the arrow keys (e.g. a tick up and one down again).

Revision history for this message
Jeb Gaither (jeb-4) said :
#2

Works great! Thank you!