Browse Source

doc: update also the Shaders::DistanceFieldVector image.

No longer slightly shifted either.
pull/168/head
Vladimír Vondruš 3 years ago
parent
commit
b514cebc8e
  1. 3
      doc/generated/README.md
  2. BIN
      doc/generated/vector-distancefield.png
  3. 39
      doc/generated/vector.svg
  4. BIN
      doc/shaders-distancefieldvector.png

3
doc/generated/README.md

@ -32,7 +32,8 @@ output is put into `doc/` directory. The executable requires two textures:
``` ```
- `vector-distancefield.png`, generated as full-page PNG output at 360 DPI - `vector-distancefield.png`, generated as full-page PNG output at 360 DPI
(1024x1024) and then processed through `magnum-distancefieldconverter` (1024x1024) to `vector-src.png` and then processed through
`magnum-distancefieldconverter`
```bash ```bash
magnum-distancefieldconverter --importer PngImporter --converter PngImageConverter --output-size "64 64" --radius 16 vector-src.png vector-distancefield.png magnum-distancefieldconverter --importer PngImporter --converter PngImageConverter --output-size "64 64" --radius 16 vector-src.png vector-distancefield.png

BIN
doc/generated/vector-distancefield.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 852 B

After

Width:  |  Height:  |  Size: 667 B

39
doc/generated/vector.svg

@ -2,23 +2,23 @@
<!-- Created with Inkscape (http://www.inkscape.org/) --> <!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg <svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="256" width="256"
height="256" height="256"
id="svg2" id="svg2"
inkscape:label="Pozadí" inkscape:label="Pozadí"
version="1.1" version="1.1"
inkscape:version="0.92.4 5da689c313, 2019-01-14" inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
sodipodi:docname="vector.svg" sodipodi:docname="vector.svg"
inkscape:export-filename="/home/mosra/Code/magnum/src/Magnum/Shaders/Test/TestFiles/vector.png" inkscape:export-filename="vector-src.png"
inkscape:export-xdpi="48" inkscape:export-xdpi="384"
inkscape:export-ydpi="48"> inkscape:export-ydpi="384"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs <defs
id="defs3" /> id="defs3" />
<sodipodi:namedview <sodipodi:namedview
@ -29,19 +29,23 @@
inkscape:pageopacity="0.0" inkscape:pageopacity="0.0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:zoom="3.959798" inkscape:zoom="3.959798"
inkscape:cx="138.74886" inkscape:cx="138.7697"
inkscape:cy="106.20936" inkscape:cy="86.115504"
inkscape:document-units="px" inkscape:document-units="px"
inkscape:current-layer="layer1" inkscape:current-layer="layer1"
showgrid="false" showgrid="false"
inkscape:snap-bbox="true" inkscape:snap-bbox="true"
inkscape:bbox-nodes="true" inkscape:bbox-nodes="true"
inkscape:snap-page="true" inkscape:snap-page="true"
inkscape:window-width="3840" inkscape:window-width="1920"
inkscape:window-height="2060" inkscape:window-height="1031"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="0" inkscape:window-y="0"
inkscape:window-maximized="1" /> inkscape:window-maximized="1"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:export-bgcolor="#ffffffff" />
<metadata <metadata
id="metadata6"> id="metadata6">
<rdf:RDF> <rdf:RDF>
@ -78,5 +82,6 @@
y="64.285713" y="64.285713"
style="font-family:sans-serif" /></flowRegion><flowPara style="font-family:sans-serif" /></flowRegion><flowPara
id="flowPara2990" id="flowPara2990"
style="font-size:40px;line-height:1.25;font-family:sans-serif"> </flowPara></flowRoot> </g> style="font-size:40px;line-height:1.25;font-family:sans-serif"> </flowPara></flowRoot>
</g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
doc/shaders-distancefieldvector.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Loading…
Cancel
Save