Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquickclipnode_p.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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QQUICKCLIPNODE_P_H
6
#
define
QQUICKCLIPNODE_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
private
/
qtquickglobal_p
.
h
>
20
#
include
<
QtQuick
/
qsgnode
.
h
>
21
22
QT_BEGIN_NAMESPACE
23
24
class
Q_QUICK_EXPORT
QQuickDefaultClipNode
:
public
QSGClipNode
25
{
26
public
:
27
QQuickDefaultClipNode(
const
QRectF &);
28
29
void
setRect(
const
QRectF &);
30
QRectF rect()
const
{
return
m_rect; }
31
32
void
setRadius(qreal radius);
33
qreal radius()
const
{
return
m_radius; }
34
35
virtual
void
update();
36
37
private
:
38
void
updateGeometry();
39
QRectF m_rect;
40
qreal m_radius;
41
42
uint m_dirty_geometry : 1;
43
uint m_reserved : 31;
44
45
QSGGeometry m_geometry;
46
};
47
48
QT_END_NAMESPACE
49
50
#
endif
// QQUICKCLIPNODE_P_H
QQuickDefaultClipNode
Definition
qquickclipnode_p.h:25
QPlatformGraphicsBufferHelper
\inmodule QtGui
qtdeclarative
src
quick
items
qquickclipnode_p.h
Generated on
for Qt by
1.14.0