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
CppunitTest_svgio_read.mk
CppunitTest_svgio_tools.mk
IwyuFilter_svgio.yaml
Library_svgio.mk
Makefile
Module_svgio.mk
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: