Qt
6.x
The Qt SDK
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Symbols
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Loading...
Searching...
No Matches
qsgopenvginternalimagenode.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#ifndef QSGOPENVGINTERNALIMAGENODE_H
5
#define QSGOPENVGINTERNALIMAGENODE_H
6
7
#include <private/qsgadaptationlayer_p.h>
8
#include "
qsgopenvgrenderable.h
"
9
10
#include <VG/openvg.h>
11
12
QT_BEGIN_NAMESPACE
13
14
class
QSGOpenVGInternalImageNode
:
public
QSGInternalImageNode
,
public
QSGOpenVGRenderable
15
{
16
public
:
17
QSGOpenVGInternalImageNode
();
18
~QSGOpenVGInternalImageNode
();
19
20
void
render
()
override
;
21
22
void
setTargetRect
(
const
QRectF
&
rect
)
override
;
23
void
setInnerTargetRect
(
const
QRectF
&
rect
)
override
;
24
void
setInnerSourceRect
(
const
QRectF
&
rect
)
override
;
25
void
setSubSourceRect
(
const
QRectF
&
rect
)
override
;
26
void
setTexture
(
QSGTexture
*
texture
)
override
;
27
void
setMirror
(
bool
mirror)
override
;
28
void
setMipmapFiltering
(
QSGTexture::Filtering
filtering)
override
;
29
void
setFiltering
(
QSGTexture::Filtering
filtering)
override
;
30
void
setHorizontalWrapMode
(
QSGTexture::WrapMode
wrapMode)
override
;
31
void
setVerticalWrapMode
(
QSGTexture::WrapMode
wrapMode)
override
;
32
void
update
()
override
;
33
34
void
preprocess
()
override
;
35
36
private
:
37
38
QRectF
m_targetRect;
39
QRectF
m_innerTargetRect;
40
QRectF
m_innerSourceRect =
QRectF
(0, 0, 1, 1);
41
QRectF
m_subSourceRect =
QRectF
(0, 0, 1, 1);
42
43
bool
m_mirror =
false
;
44
bool
m_smooth =
true
;
45
bool
m_tileHorizontal =
false
;
46
bool
m_tileVertical =
false
;
47
48
QSGTexture
*m_texture =
nullptr
;
49
50
VGImage m_subSourceRectImage = 0;
51
bool
m_subSourceRectImageDirty =
true
;
52
};
53
54
QT_END_NAMESPACE
55
56
#endif
// QSGOPENVGINTERNALIMAGENODE_H
QRectF
\inmodule QtCore\reentrant
Definition
qrect.h:483
QSGInternalImageNode
Definition
qsgadaptationlayer_p.h:127
QSGOpenVGInternalImageNode
Definition
qsgopenvginternalimagenode.h:15
QSGOpenVGInternalImageNode::setInnerTargetRect
void setInnerTargetRect(const QRectF &rect) override
Definition
qsgopenvginternalimagenode.cpp:109
QSGOpenVGInternalImageNode::setMirror
void setMirror(bool mirror) override
Definition
qsgopenvginternalimagenode.cpp:141
QSGOpenVGInternalImageNode::render
void render() override
Definition
qsgopenvginternalimagenode.cpp:24
QSGOpenVGInternalImageNode::setSubSourceRect
void setSubSourceRect(const QRectF &rect) override
Definition
qsgopenvginternalimagenode.cpp:125
QSGOpenVGInternalImageNode::setVerticalWrapMode
void setVerticalWrapMode(QSGTexture::WrapMode wrapMode) override
Definition
qsgopenvginternalimagenode.cpp:173
QSGOpenVGInternalImageNode::setHorizontalWrapMode
void setHorizontalWrapMode(QSGTexture::WrapMode wrapMode) override
Definition
qsgopenvginternalimagenode.cpp:163
QSGOpenVGInternalImageNode::setTexture
void setTexture(QSGTexture *texture) override
Definition
qsgopenvginternalimagenode.cpp:134
QSGOpenVGInternalImageNode::setMipmapFiltering
void setMipmapFiltering(QSGTexture::Filtering filtering) override
Definition
qsgopenvginternalimagenode.cpp:149
QSGOpenVGInternalImageNode::setFiltering
void setFiltering(QSGTexture::Filtering filtering) override
Definition
qsgopenvginternalimagenode.cpp:153
QSGOpenVGInternalImageNode::~QSGOpenVGInternalImageNode
~QSGOpenVGInternalImageNode()
Definition
qsgopenvginternalimagenode.cpp:18
QSGOpenVGInternalImageNode::QSGOpenVGInternalImageNode
QSGOpenVGInternalImageNode()
Definition
qsgopenvginternalimagenode.cpp:11
QSGOpenVGInternalImageNode::update
void update() override
Definition
qsgopenvginternalimagenode.cpp:183
QSGOpenVGInternalImageNode::setTargetRect
void setTargetRect(const QRectF &rect) override
Definition
qsgopenvginternalimagenode.cpp:101
QSGOpenVGInternalImageNode::setInnerSourceRect
void setInnerSourceRect(const QRectF &rect) override
Definition
qsgopenvginternalimagenode.cpp:117
QSGOpenVGInternalImageNode::preprocess
void preprocess() override
Override this function to do processing on the node before it is rendered.
Definition
qsgopenvginternalimagenode.cpp:187
QSGOpenVGRenderable
Definition
qsgopenvgrenderable.h:16
QSGTexture
\inmodule QtQuick
Definition
qsgtexture.h:20
QSGTexture::Filtering
Filtering
Specifies how sampling of texels should filter when texture coordinates are not pixel aligned.
Definition
qsgtexture.h:34
QSGTexture::WrapMode
WrapMode
Specifies how the sampler should treat texture coordinates.
Definition
qsgtexture.h:28
rect
rect
[4]
Definition
doc_src_styles.cpp:43
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
texture
GLenum GLuint texture
Definition
qopengles2ext.h:416
qsgopenvgrenderable.h
qtdeclarative
src
plugins
scenegraph
openvg
qsgopenvginternalimagenode.h
Generated by
1.9.7