| 1 | Source: nanosvg |
| 2 | Section: libs |
| 3 | Priority: optional |
| 4 | Maintainer: Chow Loong Jin <[email protected]> |
| 5 | Rules-Requires-Root: no |
| 6 | Build-Depends: debhelper-compat (= 13), |
| 7 | cmake, |
| 8 | Standards-Version: 4.6.2 |
| 9 | Homepage: https://github.com/memononen/nanosvg |
| 10 | Vcs-Browser: https://salsa.debian.org/3dprinting-team/nanosvg |
| 11 | Vcs-Git: https://salsa.debian.org/3dprinting-team/nanosvg.git |
| 12 | |
| 13 | Package: libnanosvg-dev |
| 14 | Section: libdevel |
| 15 | Architecture: any |
| 16 | Multi-Arch: same |
| 17 | Depends: ${misc:Depends}, |
| 18 | Description: simple svg parsing library -- development files |
| 19 | NanoSVG is a simple stupid single-header-file SVG parse. The output of |
| 20 | the parser is a list of cubic bezier shapes. |
| 21 | . |
| 22 | The library suits well for anything from rendering scalable icons in |
| 23 | your editor application to prototyping a game. |
| 24 | . |
| 25 | NanoSVG supports a wide range of SVG features, but something may be |
| 26 | missing, feel free to create a pull request! |
| 27 | . |
| 28 | The shapes in the SVG images are transformed by the viewBox and |
| 29 | converted to specified units. That is, you should get the same looking |
| 30 | data as your designed in your favorite app. |
| 31 | . |
| 32 | NanoSVG can return the paths in few different units. For example if you |
| 33 | want to render an image, you may choose to get the paths in pixels, or |
| 34 | if you are feeding the data into a CNC-cutter, you may want to use |
| 35 | millimeters. |
| 36 | . |
| 37 | The units passed to NanoSVG should be one of: 'px', 'pt', 'pc' 'mm', |
| 38 | 'cm', or 'in'. DPI (dots-per-inch) controls how the unit conversion is |
| 39 | done. |
| 40 | . |
| 41 | If you don't know or care about the units stuff, "px" and 96 should get |
| 42 | you going. |
| 43 | . |
| 44 | This package contains header files, other development files, and a static |
| 45 | library required to compile programs against this library. |