diff options
author | Rainer Keller <Rainer.Keller@qt.io> | 2016-08-08 10:13:10 +0200 |
---|---|---|
committer | Rainer Keller <Rainer.Keller@qt.io> | 2016-08-08 12:26:08 +0000 |
commit | a8390bb19739c5890e8172cdfe05ece25b33f906 (patch) | |
tree | 0e9d86554dca4fae8e9266a6a7659f376ee3ca2b /src/gui/doc/images | |
parent | 4da9972e89ea793f327a5899ea1740290a8a6745 (diff) |
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>
Diffstat (limited to 'src/gui/doc/images')
-rw-r--r-- | src/gui/doc/images/qcolor-saturation.png | bin | 2150 -> 1116 bytes | |||
-rw-r--r-- | src/gui/doc/images/qcolor-saturation.svg | 78 | ||||
-rw-r--r-- | src/gui/doc/images/qcolor-value.png | bin | 1241 -> 909 bytes | |||
-rw-r--r-- | src/gui/doc/images/qcolor-value.svg | 78 |
4 files changed, 156 insertions, 0 deletions
diff --git a/src/gui/doc/images/qcolor-saturation.png b/src/gui/doc/images/qcolor-saturation.png Binary files differindex f28776aff5..9c104f7389 100644 --- a/src/gui/doc/images/qcolor-saturation.png +++ b/src/gui/doc/images/qcolor-saturation.png diff --git a/src/gui/doc/images/qcolor-saturation.svg b/src/gui/doc/images/qcolor-saturation.svg new file mode 100644 index 0000000000..608c2555e8 --- /dev/null +++ b/src/gui/doc/images/qcolor-saturation.svg @@ -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> diff --git a/src/gui/doc/images/qcolor-value.png b/src/gui/doc/images/qcolor-value.png Binary files differindex 0e069123a9..add9b7f83d 100644 --- a/src/gui/doc/images/qcolor-value.png +++ b/src/gui/doc/images/qcolor-value.png diff --git a/src/gui/doc/images/qcolor-value.svg b/src/gui/doc/images/qcolor-value.svg new file mode 100644 index 0000000000..51c2de0338 --- /dev/null +++ b/src/gui/doc/images/qcolor-value.svg @@ -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> |