/usr/share/qt5/doc/qtsvg/qtsvg-svgviewer-files-cubic-svg.html is in qtsvg5-doc-html 5.9.5-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cubic.svg Example File | Qt SVG 5.9</title>
<link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
<script type="text/javascript">
document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
// loading style sheet breaks anchors that were jumped to before
// so force jumping to anchor again
setTimeout(function() {
var anchor = location.hash;
// need to jump to different anchor first (e.g. none)
location.hash = "#";
setTimeout(function() {
location.hash = anchor;
}, 0);
}, 0);
</script>
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<table><tr>
<td >Qt 5.9</td><td ><a href="qtsvg-index.html">Qt SVG</a></td><td ><a href="qtsvg-svgviewer-example.html">SVG Viewer Example</a></td><td >cubic.svg Example File</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.5 Reference Documentation</td>
</tr></table>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">cubic.svg Example File</h1>
<span class="subtitle">svgviewer/files/cubic.svg</span>
<!-- $$$svgviewer/files/cubic.svg-description -->
<div class="descr"> <a name="details"></a>
<pre class="cpp">
<?xml version="1.0" standalone="no"?>
<svg width="10cm" height="10cm" viewBox="0 0 1000 1000"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<title>Example cubic02 - cubic Bezier commands in path data</title>
<desc>Picture showing examples of "C" and "S" commands,
along with annotations showing the control points
and end points</desc>
<rect fill="none" stroke="blue" stroke-width="1" x="1" y="1" width="998" height="998" />
<!-- Path 1 -->
<polyline fill="none" stroke="#888888" stroke-width="2" points="100,200 100,100" />
<polyline fill="none" stroke="#888888" stroke-width="2" points="400,100 400,200" />
<path fill="none" stroke="red" stroke-width="5" d="M100,200 C100,100 400,100 400,200" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="100" cy="200" r="10" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="400" cy="200" r="10" />
<circle class="CtlPoint" cx="100" cy="100" r="10" />
<circle class="CtlPoint" cx="400" cy="100" r="10" />
<text text-anchor="middle" font-size="22" font-family="Verdana" x="250" y="275">M100,200 C100,100 400,100 400,200</text>
<!-- Path 2 -->
<polyline fill="none" stroke="#888888" stroke-width="2" points="100,500 25,400" />
<polyline fill="none" stroke="#888888" stroke-width="2" points="475,400 400,500" />
<path fill="none" stroke="red" stroke-width="5" d="M100,500 C25,400 475,400 400,500" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="100" cy="500" r="10" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="400" cy="500" r="10" />
<circle fill="#888888" stroke="none" cx="25" cy="400" r="10" />
<circle fill="#888888" stroke="none" cx="475" cy="400" r="10" />
<text text-anchor="middle" font-size="22" font-family="Verdana" x="250" y="575">M100,500 C25,400 475,400 400,500</text>
<!-- Path 3 -->
<polyline fill="none" stroke="#888888" stroke-width="2" points="100,800 175,700" />
<polyline fill="none" stroke="#888888" stroke-width="2" points="325,700 400,800" />
<path fill="none" stroke="red" stroke-width="5" d="M100,800 C175,700 325,700 400,800" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="100" cy="800" r="10" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="400" cy="800" r="10" />
<circle fill="#888888" stroke="none" cx="175" cy="700" r="10" />
<circle fill="#888888" stroke="none" cx="325" cy="700" r="10" />
<text text-anchor="middle" font-size="22" font-family="Verdana" x="250" y="875">M100,800 C175,700 325,700 400,800</text>
<!-- Path 4 -->
<polyline fill="none" stroke="#888888" stroke-width="2" points="600,200 675,100" />
<polyline fill="none" stroke="#888888" stroke-width="2" points="975,100 900,200" />
<path fill="none" stroke="red" stroke-width="5" d="M600,200 C675,100 975,100 900,200" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="600" cy="200" r="10" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="900" cy="200" r="10" />
<circle fill="#888888" stroke="none" cx="675" cy="100" r="10" />
<circle fill="#888888" stroke="none" cx="975" cy="100" r="10" />
<text text-anchor="middle" font-size="22" font-family="Verdana" x="750" y="275">M600,200 C675,100 975,100 900,200</text>
<!-- Path 5 -->
<polyline fill="none" stroke="#888888" stroke-width="2" points="600,500 600,350" />
<polyline fill="none" stroke="#888888" stroke-width="2" points="900,650 900,500" />
<path fill="none" stroke="red" stroke-width="5" d="M600,500 C600,350 900,650 900,500" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="600" cy="500" r="10" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="900" cy="500" r="10" />
<circle fill="#888888" stroke="none" cx="600" cy="350" r="10" />
<circle fill="#888888" stroke="none" cx="900" cy="650" r="10" />
<text text-anchor="middle" font-size="22" font-family="Verdana" x="750" y="575">M600,500 C600,350 900,650 900,500</text>
<!-- Path 6 (C and S command) -->
<polyline fill="none" stroke="#888888" stroke-width="2" points="600,800 625,700" />
<polyline fill="none" stroke="#888888" stroke-width="2" points="725,700 750,800" />
<polyline fill="none" stroke="#888888" stroke-width="2" points="750,800 775,900" />
<polyline fill="none" stroke="#888888" stroke-width="2" points="875,900 900,800" />
<path fill="none" stroke="red" stroke-width="5" d="M600,800 C625,700 725,700 750,800
S875,900 900,800" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="600" cy="800" r="10" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="750" cy="800" r="10" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="900" cy="800" r="10" />
<circle fill="#888888" stroke="none" cx="625" cy="700" r="10" />
<circle fill="#888888" stroke="none" cx="725" cy="700" r="10" />
<circle fill="#888888" stroke="none" cx="875" cy="900" r="10" />
<circle fill="none" stroke="blue" stroke-width="4" cx="775" cy="900" r="9" />
<text text-anchor="middle" font-size="22" font-family="Verdana" x="750" y="945">M600,800 C625,700 725,700 750,800</text>
<text text-anchor="middle" font-size="22" font-family="Verdana" x="750" y="975">S875,900 900,800</text>
</svg>
</pre>
</div>
<!-- @@@svgviewer/files/cubic.svg -->
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2017 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|