Doc: Fix saturation graphic for HSV color model

The text is correctly describing the gradient from gray to blue but the
picture shows white to blue.  Additionally including the SVG sources for
creating the pictures.

Change-Id: I608a239f4de9c2d3761196c44db024cc31ce441a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
This commit is contained in:
Rainer Keller 2016-08-08 10:13:10 +02:00
parent 4da9972e89
commit a8390bb197
4 changed files with 156 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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:xlink="http://www.w3.org/1999/xlink"
version="1.1"
id="svg2"
viewBox="0 0 186.82259 45.046909"
height="12.713239mm"
width="52.725487mm">
<defs
id="defs4">
<linearGradient
id="linearGradient3346">
<stop
id="stop3348"
offset="0"
style="stop-color:#808080;stop-opacity:1" />
<stop
id="stop3350"
offset="1"
style="stop-color:#0000ff;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientTransform="translate(109.31384,222.16879)"
gradientUnits="userSpaceOnUse"
y2="16.118341"
x2="200.35715"
y1="16.118341"
x1="3.7246187"
id="linearGradient3352"
xlink:href="#linearGradient3346" />
</defs>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="translate(-109.31384,-222.16879)"
id="layer1">
<rect
y="225.7121"
x="112.85714"
height="25.221529"
width="179.73599"
id="rect3336"
style="opacity:1;fill:url(#linearGradient3352);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.1;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<text
id="text3338"
y="263.53079"
x="113.03048"
style="font-style:normal;font-weight:normal;font-size:10px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
xml:space="preserve"><tspan
y="263.53079"
x="113.03048"
id="tspan3340">0</tspan></text>
<text
id="text3342"
y="263.53079"
x="271.76645"
style="font-style:normal;font-weight:normal;font-size:10px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
xml:space="preserve"><tspan
y="263.53079"
x="271.76645"
id="tspan3344">255</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 909 B

View File

@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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:xlink="http://www.w3.org/1999/xlink"
width="52.725487mm"
height="12.713239mm"
viewBox="0 0 186.82259 45.046909"
id="svg2"
version="1.1">
<defs
id="defs4">
<linearGradient
id="linearGradient3346">
<stop
style="stop-color:#000000;stop-opacity:1"
offset="0"
id="stop3348" />
<stop
style="stop-color:#ffffff;stop-opacity:1"
offset="1"
id="stop3350" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3346"
id="linearGradient3352"
x1="3.7246187"
y1="16.118341"
x2="183.57143"
y2="15.761199"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(109.31384,222.16879)" />
</defs>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
transform="translate(-109.31384,-222.16879)">
<rect
style="opacity:1;fill:url(#linearGradient3352);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.1;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect3336"
width="179.73599"
height="25.221529"
x="112.85714"
y="225.7121" />
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:10px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="113.03048"
y="263.53079"
id="text3338"><tspan
id="tspan3340"
x="113.03048"
y="263.53079">0</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:10px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="271.76645"
y="263.53079"
id="text3342"><tspan
id="tspan3344"
x="271.76645"
y="263.53079">255</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB