Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
5/* wrap non-code snippets
6
8x' = m11*x + m21*y + dx
9y' = m22*y + m12*x + dy
10if (!isAffine()) {
11 w' = m13*x + m23*y + m33
12 x' /= w'
13 y' /= w'
14}
16
17
19x' = m11*x + m21*y + dx
20y' = m22*y + m12*x + dy
21if (!isAffine()) {
22 w' = m13*x + m23*y + m33
23 x' /= w'
24 y' /= w'
25}
27
28
30x' = m11*x + m21*y + dx
31y' = m22*y + m12*x + dy
32if (!isAffine()) {
33 w' = m13*x + m23*y + m33
34 x' /= w'
35 y' /= w'
36}
38
39
41x' = m11*x + m21*y + dx
42y' = m22*y + m12*x + dy
43if (!isAffine()) {
44 w' = m13*x + m23*y + m33
45 x' /= w'
46 y' /= w'
47}
49
50*/ // wrap non-code snippets
51} // src_gui_painting_qtransform