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
src_gui_painting_qtransform.cpp
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4
namespace
src_gui_painting_qtransform
{
5
/* wrap non-code snippets
6
7
//! [0]
8
x' = m11*x + m21*y + dx
9
y' = m22*y + m12*x + dy
10
if (!isAffine()) {
11
w' = m13*x + m23*y + m33
12
x' /= w'
13
y' /= w'
14
}
15
//! [0]
16
17
18
//! [1]
19
x' = m11*x + m21*y + dx
20
y' = m22*y + m12*x + dy
21
if (!isAffine()) {
22
w' = m13*x + m23*y + m33
23
x' /= w'
24
y' /= w'
25
}
26
//! [1]
27
28
29
//! [2]
30
x' = m11*x + m21*y + dx
31
y' = m22*y + m12*x + dy
32
if (!isAffine()) {
33
w' = m13*x + m23*y + m33
34
x' /= w'
35
y' /= w'
36
}
37
//! [2]
38
39
40
//! [3]
41
x' = m11*x + m21*y + dx
42
y' = m22*y + m12*x + dy
43
if (!isAffine()) {
44
w' = m13*x + m23*y + m33
45
x' /= w'
46
y' /= w'
47
}
48
//! [3]
49
50
*/
// wrap non-code snippets
51
}
// src_gui_painting_qtransform
src_gui_painting_qtransform
Definition
src_gui_painting_qtransform.cpp:4
qtbase
src
gui
doc
snippets
code
src_gui_painting_qtransform.cpp
Generated on
for Qt by
1.14.0