Difference between revisions of "SpecXAMLExport"

From Inkscape Wiki
Jump to navigation Jump to search
(new xaml exporter)
Tags: Replaced Visual edit
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Release Note ==
XAML export has been rewritten for Inkscape 1.3 using Python.
Initial XAML released in Inkscape 0.4x.


== Design ==
== XAML export==
This export extension uses the XSLT extension system.
 
== TODO ==
 
== Discussion ==
 
== Known limitations ==
Some SVG features are not are partially supported by XAML. When possible, a workaround has been implemented in the export filter to render the missing features. Some elements that can't be created with Inkscape are not supported.
 
== Detailed tests ==
(from the official SVG1.1 test suite at http://www.w3.org/Graphics/SVG/WG/wiki/Test_Suite_Overview)
 
=== Colors ===
*color-prop-01-b - CurrentColor value not supported.
*color-prop-03-t - Ok.
 
=== coords ===
*coords-coord-01-t - Ok.
*coords-coord-02-t - Ok.
*coords-trans-01-b - Ok.
*coords-trans-02-t - Ok.
*coords-trans-03-t - Ok.
*coords-trans-04-t - Ok.
*coords-trans-05-t - Ok.
*coords-trans-06-t - Ok.
*coords-units-01-b - Patterns not supported.
*coords-units-02-b - % positionning not supported.
*coords-units-03-b - em, ex and % not implemented.
*coords-viewattr-03-b - Canvas not supported.
 
=== Filters ===
*filters-gauss-01-b - Bidirectionnal blur only.
 
=== Masking ===
*masking-mask-01-b -
*masking-opacity-01-b -
*masking-path-01-b -
*masking-path-02-b -
*masking-path-03-b -
*masking-path-04-b -
 
=== Painting ===
*painting-fill-01-t - Ok.
*painting-fill-02-t - CurrentColor value not supported.
*painting-fill-03-t - Ok (silverlight compatibility issue).
*painting-fill-04-t - Ok.
*painting-fill-05-b - Ok.
*painting-render-01-b - linearRGB not supported?
*painting-stroke-01-t - Stroke is rendered inside the object (works correctly with path)!
*painting-stroke-02-t - Ok.
*painting-stroke-03-t - No automatic mitter.
*painting-stroke-04-t - Dash-array and dash-offset don't work.
*painting-stroke-07-t - Mitter-limit doesn't work.
 
=== Path ===
*paths-data-01-t - Ok.
*paths-data-02-t - Ok.
*paths-data-04-t - Ok.
*paths-data-05-t - Ok.
*paths-data-06-t - Ok.
*paths-data-07-t - Ok.
*paths-data-08-t - Ok.
*paths-data-09-t - Ok.
*paths-data-10-t - Ok.
*paths-data-12-t - Ok.
*paths-data-13-t - Ok.
*paths-data-14-t - Ok.
*paths-data-15-t - Ok.
 
=== Pserver ===
*pservers-grad-01-b -
*pservers-grad-02-b -
*pservers-grad-03-b -
*pservers-grad-04-b -
*pservers-grad-05-b -
*pservers-grad-06-b -
*pservers-grad-07-b -
*pservers-grad-08-b -
*pservers-grad-09-b -
*pservers-grad-10-b -
*pservers-grad-11-b -
*pservers-grad-12-b -
*pservers-grad-13-b -> 15-b -
*pservers-grad-16-b -
*pservers-grad-17-b -
*pservers-grad-18-b -
*pservers-grad-19-b -
 
=== Render ===
*render-elems-01-t - Ok.
*render-elems-02-t - Ok (except !ENTITY support not implemented).
*render-elems-03-t - Fails (!ENTITY support not implemented).
*render-elems-06-t (and following) - Glyphs (defs) support not implemented.
*render-groups-03-t - Glyphs fail.
 
=== Shapes ===
*shapes-circle-01-t- Partial (Stroke is rendered inside the object).
*shapes-circle-02-t - Partial (not clipped).
*shapes-ellipse-01-t - Partial (Stroke is rendered inside the object).
*shapes-ellipse-02-t - Partial (not clipped).
*shapes-intro-01-t - Ok.
*shapes-line-01-t - Ok.
*shapes-polygon-01-t - Ok.
*shapes-polyline-01-t - Ok.
*shapes-rect-01-t - Partial (Stroke is rendered inside the object).
*shapes-rect-02-t - Partial (Stroke is rendered inside the object).
 
=== Struct ===
Relative images don't work with kaxaml (work with okino)
*struct-defs-01-t - Ok.
*struct-frag-01-t - Ok.
*struct-frag-02-t - Viewbox not correctly implemented.
*struct-group-01-t - Ok.
*struct-group-02-b - Ok.
*struct-group-03-t - Doesn't work with defs in a group. Issues with keys (TypeConverter class).
*struct-image-01-t - Ok.
*struct-image-04-t - Image embedding fails.
*struct-image-06-t - PreserveRation not supported.
 
=== Text ===
*text-align-01-b - Text-anchor not supported?
*text-align-02-b -
*text-align-03-b -
*text-align-04-b -
*text-align-05-b -
*text-align-06-b -
*text-align-08-b -
*text-deco-01-b -
*text-fonts-01-t -
*text-fonts-02-t -
*text-fonts-03-t -
*text-intro-01-t -
*text-intro-02-b -
*text-intro-03-b -
*text-intro-04-t -
*text-intro-05-t -
*text-path-01-b -
*text-spacing-01-b -
*text-text-01-b -
*text-text-03-b -
*text-text-04-t to text-text-06-t -
*text-text-07-t -
*text-text-08-b -
*text-tref-01-b -
*text-tselect-01-b -
*text-tspan-01-b -
*text-ws-01-t -
*text-ws-02-t -


This documentation has been moved to the auto-generated extensions documentation, see [https://inkscape.gitlab.io/extensions/documentation/extensions/svg2xaml.html here].


[[Category:Developer Documentation]]
[[Category:Developer Documentation]]
[[Category:Specification]]
[[Category:Specification]]

Latest revision as of 20:17, 12 October 2022

XAML export has been rewritten for Inkscape 1.3 using Python.

XAML export

This documentation has been moved to the auto-generated extensions documentation, see here.