/usr/share/qt5/doc/qtquick/qtquick-visualcanvas-topic.html is in qtdeclarative5-doc-html 5.5.1-2ubuntu6.
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 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- topic.qdoc -->
<title>Important Concepts In Qt Quick - The Visual Canvas | Qt Quick 5.5</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li>Qt 5.5</li>
<li><a href="qtquick-index.html">Qt Quick</a></li>
<li>Important Concepts In Qt Quick - The Visual Canvas</li>
<li id="buildversion">Qt 5.5.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#coordinate-system">Coordinate System</a></li>
<li class="level1"><a href="#visual-parent">Visual Parent</a></li>
<li class="level1"><a href="#scene-graph">Scene Graph</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Important Concepts In Qt Quick - The Visual Canvas</h1>
<span class="subtitle"></span>
<!-- $$$qtquick-visualcanvas-topic.html-description -->
<div class="descr"> <a name="details"></a>
<p>The visual canvas provided by the Qt Quick is a two dimensional canvas with z-ordering.</p>
<a name="coordinate-system"></a>
<h2 id="coordinate-system">Coordinate System</h2>
<p>The top-left pixel in the Qt Quick coordinate system is the [0, 0] pixel. The coordinate system of a child item is relative to its visual parent item. See the documentation on the <a href="qtquick-visualcanvas-coordinates.html">Coordinate System</a> for in-depth information about the coordinate system utilized by Qt Quick.</p>
<a name="visual-parent"></a>
<h2 id="visual-parent">Visual Parent</h2>
<p>There are two separate kinds of parenting in a QML application which uses Qt Quick. The first kind is the ownership-parent (also known as the QObject parent) which determines object lifetime semantics. The second kind is the visual parent which determines where on the canvas an item is drawn, and also certain properties (for example, opacity applies to visual children).</p>
<p>In almost all cases, the visual parent is identical to the ownership-parent. See the documentation about the <a href="qtquick-visualcanvas-visualparent.html">Visual Parent</a> for more in-depth information on the topic.</p>
<a name="scene-graph"></a>
<h2 id="scene-graph">Scene Graph</h2>
<p>Modern computer systems and devices use OpenGL to draw graphics. Qt Quick requires OpenGL and it is used to display applications developed with Qt Quick in QML. In particular, Qt Quick defines a scene graph which is then rendered. See the documentation about the <a href="qtquick-visualcanvas-scenegraph.html">Scene Graph</a> for in-depth information about the concept of a scene graph and why it is beneficial, and about the scene graph implementation provided by Qt Quick.</p>
</div>
<!-- @@@qtquick-visualcanvas-topic.html -->
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2015 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>
|