office-gobmx/svgio
Mike Kaganski 962bd03938 Simplify a bit
SVG diagonal percentage distances are defined in terms of
viewBox diagonal length divided by sqrt(2) (normalized).

See https://svgwg.org/svg2-draft/coords.html#Units

Change-Id: I0d2101315d5f6c3333d021251eff17f6c13e804f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175991
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-11-05 06:36:16 +01:00
..
inc tdf#163212: context-fill/context-stroke can also use gradients 2024-10-02 14:31:47 +02:00
qa/cppunit Use good old string literals in assertXPath and friends 2024-10-05 10:06:44 +02:00
source Simplify a bit 2024-11-05 06:36:16 +01:00
CppunitTest_svgio.mk tdf#160386: Add support for switch element 2024-03-27 23:44:40 +01:00
CppunitTest_svgio_read.mk
CppunitTest_svgio_tools.mk tdf#160386: Add support for switch element 2024-03-27 23:44:40 +01:00
IwyuFilter_svgio.yaml
Library_svgio.mk tdf#160386: Add support for switch element 2024-03-27 23:44:40 +01:00
Makefile
Module_svgio.mk svgio: add test for svgtools starting with SvgNumber 2021-05-01 09:29:18 +02:00
README.md
svgio.component

SVG Reader

Introduction

The svgio module is used to read SVG (Scalable Vector Graphics[1]) files. It is an XML based format for vector graphics.

This module contains svgio/source/svgreader which is used for embedding an SVG file with "Insert -> Picture -> From File".

SVG is an open standard provided by the World Wide Web Consortium (W3C).

[1] Scalable Vector Graphics

How does it work?

svgio module uses sax for reading xml and turns it into drawinglayer primitives. The rendering is done via drawinglayer primitives. For more information, you should refer to drawinglayer documentation.

Known Bugs

Known remaining bugs for this module are gathered here:

Dependencies

Direct dependencies for emfio are drawinglayer and sax.

References

Documentation for the SVG format is available on the W3C website: