java.lang.Object
io.qt.QtObject
io.qt.gui.QTransform
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Specifies 2D transformations of a coordinate system
Java wrapper for Qt class QTransform
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQTransform::TransformationType
-
Constructor Summary
ConstructorDescriptionQTransform
(double h11, double h12, double h21, double h22, double dx, double dy) QTransform
(double h11, double h12, double h13, double h21, double h22, double h23, double h31, double h32, double h33) QTransform
(QTransform other) SeeQTransform::
QTransform(QTransform) -
Method Summary
Modifier and TypeMethodDescriptionfinal QTransform
add
(double div) final QTransform
adjoint()
final void
assign
(QTransform arg__1) clone()
Creates and returns a copy of this object.final double
final QTransform
div
(double n) Seeoperator/(QTransform,
qreal) final QTransform
divide
(double div) final double
dx()
final double
dy()
final boolean
equals
(QTransform arg__1) boolean
static QTransform
fromScale
(double dx, double dy) static QTransform
fromTranslate
(double dx, double dy) int
hashCode()
Returns the objects's hash code computed byqHash(QTransform)
.final QTransform
inverted()
final boolean
isAffine()
final boolean
final boolean
final boolean
final boolean
final boolean
final double
m11()
final double
m12()
final double
m13()
final double
m21()
final double
m22()
final double
m23()
final double
m31()
final double
m32()
final double
m33()
final QLine
final QLineF
final QPoint
final QPointF
final QRegion
Overloaded function formap(io.qt.gui.QRegion)
.final QRegion
Overloaded function formap(io.qt.gui.QRegion)
.final QPainterPath
map
(QPainterPath p) final QPolygon
final QPolygonF
final QRegion
final QRect
final QRectF
final QPolygon
final QTransform
minus
(double n) Seeoperator-(QTransform,
qreal) final QTransform
final QTransform
multiply
(double div) final QTransform
multiply
(QTransform arg__1) final QTransform
plus
(double n) Seeoperator+(QTransform,
qreal) static boolean
qFuzzyCompare
(QTransform t1, QTransform t2) static QTransform
quadToQuad
(QPolygonF one, QPolygonF two) static boolean
quadToQuad
(QPolygonF one, QPolygonF two, QTransform result) static QTransform
quadToSquare
(QPolygonF quad) static boolean
quadToSquare
(QPolygonF quad, QTransform result) void
readFrom
(QDataStream arg__1) final void
reset()
final QTransform
rotate
(double a) Overloaded function forrotate(double, io.qt.core.Qt.Axis)
withaxis = io.qt.core.Qt.Axis.ZAxis
.final QTransform
final QTransform
final QTransform
rotateRadians
(double a) Overloaded function forrotateRadians(double, io.qt.core.Qt.Axis)
withaxis = io.qt.core.Qt.Axis.ZAxis
.final QTransform
rotateRadians
(double a, Qt.Axis axis) final QTransform
rotateRadians
(double a, Qt.Axis axis, double distanceToPlane) final QTransform
scale
(double sx, double sy) final void
setMatrix
(double m11, double m12, double m13, double m21, double m22, double m23, double m31, double m32, double m33) final QTransform
shear
(double sh, double sv) static QTransform
squareToQuad
(QPolygonF square) static boolean
squareToQuad
(QPolygonF square, QTransform result) final QTransform
subtract
(double div) final QTransform
times
(double n) Seeoperator*(QTransform,
qreal) toString()
Seeoperator<<(QDebug,
QTransform) final QTransform
translate
(double dx, double dy) final QTransform
type()
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QTransform
public QTransform() -
QTransform
See
QTransform::
QTransform(QTransform) - Parameters:
other
-
-
QTransform
public QTransform(double h11, double h12, double h21, double h22, double dx, double dy) - Parameters:
h11
-h12
-h21
-h22
-dx
-dy
-
-
QTransform
public QTransform(double h11, double h12, double h13, double h21, double h22, double h23, double h31, double h32, double h33) - Parameters:
h11
-h12
-h13
-h21
-h22
-h23
-h31
-h32
-h33
-
-
-
Method Details
-
adjoint
- Returns:
-
determinant
- Returns:
-
dx
- Returns:
-
dy
- Returns:
-
inverted
- Returns:
-
isAffine
- Returns:
-
isIdentity
- Returns:
-
isInvertible
- Returns:
-
isRotating
- Returns:
-
isScaling
- Returns:
-
isTranslating
- Returns:
-
m11
- Returns:
-
m12
- Returns:
-
m13
- Returns:
-
m21
- Returns:
-
m22
- Returns:
-
m23
- Returns:
-
m31
- Returns:
-
m32
- Returns:
-
m33
- Returns:
-
map
- Parameters:
l
-- Returns:
-
map
- Parameters:
l
-- Returns:
-
map
- Parameters:
p
-- Returns:
-
map
- Parameters:
p
-- Returns:
-
map
- Parameters:
p
-- Returns:
-
map
- Parameters:
a
-- Returns:
-
map
- Parameters:
a
-- Returns:
-
map
- Parameters:
r
-- Returns:
-
mapRect
- Parameters:
arg__1
-- Returns:
-
mapRect
- Parameters:
arg__1
-- Returns:
-
mapToPolygon
- Parameters:
r
-- Returns:
-
multiplied
- Parameters:
o
-- Returns:
-
times
See
operator*(QTransform,
qreal) - Parameters:
n
-- Returns:
-
multiply
- Parameters:
arg__1
-- Returns:
-
multiply
- Parameters:
div
-- Returns:
-
plus
See
operator+(QTransform,
qreal) - Parameters:
n
-- Returns:
-
add
- Parameters:
div
-- Returns:
-
minus
See
operator-(QTransform,
qreal) - Parameters:
n
-- Returns:
-
subtract
- Parameters:
div
-- Returns:
-
div
See
operator/(QTransform,
qreal) - Parameters:
n
-- Returns:
-
divide
- Parameters:
div
-- Returns:
-
writeTo
- Parameters:
arg__1
-
-
assign
- Parameters:
arg__1
-
-
equals
- Parameters:
arg__1
-- Returns:
-
readFrom
- Parameters:
arg__1
-
-
reset
-
rotate
- Parameters:
a
-axis
-- Returns:
-
rotate
- Parameters:
a
-axis
-distanceToPlane
-- Returns:
- Since:
- This function was introduced in Qt 6.5.
-
rotateRadians
- Parameters:
a
-axis
-- Returns:
-
rotateRadians
@QtUninvokable public final QTransform rotateRadians(double a, Qt.Axis axis, double distanceToPlane) - Parameters:
a
-axis
-distanceToPlane
-- Returns:
- Since:
- This function was introduced in Qt 6.5.
-
scale
- Parameters:
sx
-sy
-- Returns:
-
setMatrix
@QtUninvokable public final void setMatrix(double m11, double m12, double m13, double m21, double m22, double m23, double m31, double m32, double m33) - Parameters:
m11
-m12
-m13
-m21
-m22
-m23
-m31
-m32
-m33
-
-
shear
- Parameters:
sh
-sv
-- Returns:
-
translate
- Parameters:
dx
-dy
-- Returns:
-
transposed
- Returns:
-
type
- Returns:
-
fromScale
- Parameters:
dx
-dy
-- Returns:
-
fromTranslate
- Parameters:
dx
-dy
-- Returns:
-
qFuzzyCompare
- Parameters:
t1
-t2
-- Returns:
-
quadToQuad
- Parameters:
one
-two
-result
-- Returns:
-
quadToSquare
- Parameters:
quad
-result
-- Returns:
-
squareToQuad
- Parameters:
square
-result
-- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QTransform)
. -
squareToQuad
- See Also:
-
quadToSquare
- See Also:
-
quadToQuad
- See Also:
-
toString
See
operator<<(QDebug,
QTransform) -
clone
Creates and returns a copy of this object.
See
QTransform::
QTransform(QTransform) -
map
Overloaded function for
map(io.qt.gui.QRegion)
. -
map
Overloaded function for
map(io.qt.gui.QRegion)
. -
rotate
Overloaded function for
rotate(double, io.qt.core.Qt.Axis)
withaxis = io.qt.core.Qt.Axis.ZAxis
. -
rotateRadians
Overloaded function for
rotateRadians(double, io.qt.core.Qt.Axis)
withaxis = io.qt.core.Qt.Axis.ZAxis
.
-