This file is indexed.

/usr/share/qt5/doc/qtquick/qsgsimpletexturenode.html is in qtdeclarative5-doc-html 5.2.1-3ubuntu15.

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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qsgsimpletexturenode.cpp -->
  <title>QSGSimpleTextureNode Class | QtQuick 5.2</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.2</li>
<li><a href="qtquick-index.html">Qt Quick</a></li>
<li><a href="qtquick-module.html">C++ Classes</a></li>
<li>QSGSimpleTextureNode</li>
<li id="buildversion">
Qt 5.2.1 Reference Documentation</li>
    </ul>
    </div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QSGSimpleTextureNode Class</h1>
<!-- $$$QSGSimpleTextureNode-brief -->
<p>The QSGSimpleTextureNode class is provided for convenience to easily draw textured content using the QML scene graph. <a href="#details">More...</a></p>
<!-- @@@QSGSimpleTextureNode -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> </b><tt><span class="preprocessor">#include &lt;QSGSimpleTextureNode&gt;</span>
</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> <tt>QT += quick</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qsggeometrynode.html">QSGGeometryNode</a>.</td></tr></table><ul>
<li><a href="qsgsimpletexturenode-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2>Public Types</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qsgsimpletexturenode.html#TextureCoordinatesTransformFlag-enum">TextureCoordinatesTransformFlag</a></b> { NoTransform, MirrorHorizontally, MirrorVertically }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qsgsimpletexturenode.html#TextureCoordinatesTransformFlag-enum">TextureCoordinatesTransformMode</a></b></td></tr>
</table>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qsgsimpletexturenode.html#QSGSimpleTextureNode">QSGSimpleTextureNode</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSGTexture::Filtering </td><td class="memItemRight bottomAlign"><b><a href="qsgsimpletexturenode.html#filtering">filtering</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QRectF </td><td class="memItemRight bottomAlign"><b><a href="qsgsimpletexturenode.html#rect">rect</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsgsimpletexturenode.html#setFiltering">setFiltering</a></b>(QSGTexture::Filtering<i> filtering</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsgsimpletexturenode.html#setRect">setRect</a></b>(const QRectF &amp;<i> r</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsgsimpletexturenode.html#setRect-2">setRect</a></b>(qreal<i> x</i>, qreal<i> y</i>, qreal<i> w</i>, qreal<i> h</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsgsimpletexturenode.html#setTexture">setTexture</a></b>(QSGTexture *<i> texture</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsgsimpletexturenode.html#setTextureCoordinatesTransform">setTextureCoordinatesTransform</a></b>(TextureCoordinatesTransformMode<i> mode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSGTexture * </td><td class="memItemRight bottomAlign"><b><a href="qsgsimpletexturenode.html#texture">texture</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> TextureCoordinatesTransformMode </td><td class="memItemRight bottomAlign"><b><a href="qsgsimpletexturenode.html#textureCoordinatesTransform">textureCoordinatesTransform</a></b>() const</td></tr>
</table>
<ul>
<li class="fn">4 public functions inherited from <a href="qsggeometrynode.html#public-functions">QSGGeometryNode</a></li>
<li class="fn">3 public functions inherited from <a href="qsgbasicgeometrynode.html#public-functions">QSGBasicGeometryNode</a></li>
<li class="fn">20 public functions inherited from <a href="qsgnode.html#public-functions">QSGNode</a></li>
</ul>
<a name="details"></a>
<!-- $$$QSGSimpleTextureNode-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QSGSimpleTextureNode class is provided for convenience to easily draw textured content using the QML scene graph.</p>
<p><b>Warning:</b> The simple texture node class must have a texture before being added to the scene graph to be rendered.</p>
</div>
<!-- @@@QSGSimpleTextureNode -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$TextureCoordinatesTransformFlag$$$NoTransform$$$MirrorHorizontally$$$MirrorVertically -->
<h3 class="flags"><a name="TextureCoordinatesTransformFlag-enum"></a>enum QSGSimpleTextureNode::<span class="name">TextureCoordinatesTransformFlag</span><br/>flags QSGSimpleTextureNode::<span class="name">TextureCoordinatesTransformMode</span></h3>
<p>The TextureCoordinatesTransformFlag enum is used to specify the mode used to generate texture coordinates for a textured quad.</p>
<table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><tt>QSGSimpleTextureNode::NoTransform</tt></td><td class="topAlign"><tt>0x00</tt></td><td class="topAlign">Texture coordinates are oriented with window coordinates i.e&#x2e; with origin at top-left.</td></tr>
<tr><td class="topAlign"><tt>QSGSimpleTextureNode::MirrorHorizontally</tt></td><td class="topAlign"><tt>0x01</tt></td><td class="topAlign">Texture coordinates are inverted in the horizontal axis with respect to window coordinates</td></tr>
<tr><td class="topAlign"><tt>QSGSimpleTextureNode::MirrorVertically</tt></td><td class="topAlign"><tt>0x02</tt></td><td class="topAlign">Texture coordinates are inverted in the vertical axis with respect to window coordinates</td></tr>
</table>
<p>The TextureCoordinatesTransformMode type is a typedef for <a href="">QFlags</a>&lt;TextureCoordinatesTransformFlag&gt;. It stores an OR combination of TextureCoordinatesTransformFlag values.</p>
<!-- @@@TextureCoordinatesTransformFlag -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QSGSimpleTextureNode[overload1]$$$QSGSimpleTextureNode -->
<h3 class="fn"><a name="QSGSimpleTextureNode"></a>QSGSimpleTextureNode::<span class="name">QSGSimpleTextureNode</span>()</h3>
<p>Constructs a new simple texture node</p>
<!-- @@@QSGSimpleTextureNode -->
<!-- $$$filtering[overload1]$$$filtering -->
<h3 class="fn"><a name="filtering"></a><span class="type"><a href="qsgtexture.html#Filtering-enum">QSGTexture::Filtering</a></span> QSGSimpleTextureNode::<span class="name">filtering</span>() const</h3>
<p>Returns the filtering currently set on this texture node</p>
<p><b>See also </b><a href="qsgsimpletexturenode.html#setFiltering">setFiltering</a>().</p>
<!-- @@@filtering -->
<!-- $$$rect[overload1]$$$rect -->
<h3 class="fn"><a name="rect"></a><span class="type">QRectF</span> QSGSimpleTextureNode::<span class="name">rect</span>() const</h3>
<p>Returns the target rect of this texture node.</p>
<p><b>See also </b><a href="qsgsimpletexturenode.html#setRect">setRect</a>().</p>
<!-- @@@rect -->
<!-- $$$setFiltering[overload1]$$$setFilteringQSGTexture::Filtering -->
<h3 class="fn"><a name="setFiltering"></a><span class="type">void</span> QSGSimpleTextureNode::<span class="name">setFiltering</span>(<span class="type"><a href="qsgtexture.html#Filtering-enum">QSGTexture::Filtering</a></span><i> filtering</i>)</h3>
<p>Sets the filtering to be used for this texture node to <i>filtering</i>.</p>
<p>For smooth scaling, use <a href="qsgtexture.html#Filtering-enum">QSGTexture::Linear</a>; for normal scaling, use <a href="qsgtexture.html#Filtering-enum">QSGTexture::Nearest</a>.</p>
<p><b>See also </b><a href="qsgsimpletexturenode.html#filtering">filtering</a>().</p>
<!-- @@@setFiltering -->
<!-- $$$setRect[overload1]$$$setRectconstQRectF& -->
<h3 class="fn"><a name="setRect"></a><span class="type">void</span> QSGSimpleTextureNode::<span class="name">setRect</span>(const <span class="type">QRectF</span> &amp;<i> r</i>)</h3>
<p>Sets the target rect of this texture node to <i>r</i>.</p>
<p><b>See also </b><a href="qsgsimpletexturenode.html#rect">rect</a>().</p>
<!-- @@@setRect -->
<!-- $$$setRect$$$setRectqrealqrealqrealqreal -->
<h3 class="fn"><a name="setRect-2"></a><span class="type">void</span> QSGSimpleTextureNode::<span class="name">setRect</span>(<span class="type">qreal</span><i> x</i>, <span class="type">qreal</span><i> y</i>, <span class="type">qreal</span><i> w</i>, <span class="type">qreal</span><i> h</i>)</h3>
<p>This is an overloaded function.</p>
<p>Sets the rectangle of this texture node to begin at (<i>x</i>, <i>y</i>) and have width <i>w</i> and height <i>h</i>.</p>
<!-- @@@setRect -->
<!-- $$$setTexture[overload1]$$$setTextureQSGTexture* -->
<h3 class="fn"><a name="setTexture"></a><span class="type">void</span> QSGSimpleTextureNode::<span class="name">setTexture</span>(<span class="type"><a href="qsgtexture.html">QSGTexture</a></span> *<i> texture</i>)</h3>
<p>Sets the texture of this texture node to <i>texture</i>.</p>
<p><b>Warning:</b> A texture node must have a texture before being added to the scenegraph to be rendered.</p>
<p><b>See also </b><a href="qsgsimpletexturenode.html#texture">texture</a>().</p>
<!-- @@@setTexture -->
<!-- $$$setTextureCoordinatesTransform[overload1]$$$setTextureCoordinatesTransformTextureCoordinatesTransformMode -->
<h3 class="fn"><a name="setTextureCoordinatesTransform"></a><span class="type">void</span> QSGSimpleTextureNode::<span class="name">setTextureCoordinatesTransform</span>(<span class="type"><a href="qsgsimpletexturenode.html#TextureCoordinatesTransformFlag-enum">TextureCoordinatesTransformMode</a></span><i> mode</i>)</h3>
<p>Sets the method used to generate texture coordinates to <i>mode</i>. This can be used to obtain correct orientation of the texture. This is commonly needed when using a third party OpenGL library to render to texture as OpenGL has an inverted y-axis relative to Qt Quick.</p>
<p><b>See also </b><a href="qsgsimpletexturenode.html#textureCoordinatesTransform">textureCoordinatesTransform</a>().</p>
<!-- @@@setTextureCoordinatesTransform -->
<!-- $$$texture[overload1]$$$texture -->
<h3 class="fn"><a name="texture"></a><span class="type"><a href="qsgtexture.html">QSGTexture</a></span> * QSGSimpleTextureNode::<span class="name">texture</span>() const</h3>
<p>Returns the texture for this texture node</p>
<p><b>See also </b><a href="qsgsimpletexturenode.html#setTexture">setTexture</a>().</p>
<!-- @@@texture -->
<!-- $$$textureCoordinatesTransform[overload1]$$$textureCoordinatesTransform -->
<h3 class="fn"><a name="textureCoordinatesTransform"></a><span class="type"><a href="qsgsimpletexturenode.html#TextureCoordinatesTransformFlag-enum">TextureCoordinatesTransformMode</a></span> QSGSimpleTextureNode::<span class="name">textureCoordinatesTransform</span>() const</h3>
<p>Returns the mode used to generate texture coordinates for this node.</p>
<p><b>See also </b><a href="qsgsimpletexturenode.html#setTextureCoordinatesTransform">setTextureCoordinatesTransform</a>().</p>
<!-- @@@textureCoordinatesTransform -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2013 Digia Plc and/or its
   subsidiaries. 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>    Digia, Qt and their respective logos are trademarks of Digia Plc     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>