All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.gui.QTransform Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.gui;

import io.qt.*;


/**
 * 

Specifies 2D transformations of a coordinate system

*

Java wrapper for Qt class QTransform

*/ public class QTransform extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

Java wrapper for Qt enum QTransform::TransformationType

*/ public enum TransformationType implements QtEnumerator { /** *

Representing QTransform::TxNone

*/ TxNone(0), /** *

Representing QTransform::TxTranslate

*/ TxTranslate(1), /** *

Representing QTransform::TxScale

*/ TxScale(2), /** *

Representing QTransform::TxRotate

*/ TxRotate(4), /** *

Representing QTransform::TxShear

*/ TxShear(8), /** *

Representing QTransform::TxProject

*/ TxProject(16); static { QtJambi_LibraryUtilities.initialize(); } private TransformationType(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull TransformationType resolve(int value) { switch (value) { case 0: return TxNone; case 1: return TxTranslate; case 2: return TxScale; case 4: return TxRotate; case 8: return TxShear; case 16: return TxProject; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QTransform::QTransform()

*/ public QTransform(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QTransform instance); /** *

See QTransform::QTransform(QTransform)

*/ public QTransform(io.qt.gui.@NonNull QTransform other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QTransform instance, io.qt.gui.QTransform other); /** *

See QTransform::QTransform(qreal,qreal,qreal,qreal,qreal,qreal)

*/ public QTransform(double h11, double h12, double h21, double h22, double dx, double dy){ super((QPrivateConstructor)null); initialize_native(this, h11, h12, h21, h22, dx, dy); } private native static void initialize_native(QTransform instance, double h11, double h12, double h21, double h22, double dx, double dy); /** *

See QTransform::QTransform(qreal,qreal,qreal,qreal,qreal,qreal,qreal,qreal,qreal)

*/ public QTransform(double h11, double h12, double h13, double h21, double h22, double h23, double h31, double h32, double h33){ super((QPrivateConstructor)null); initialize_native(this, h11, h12, h13, h21, h22, h23, h31, h32, h33); } private native static void initialize_native(QTransform instance, double h11, double h12, double h13, double h21, double h22, double h23, double h31, double h32, double h33); /** *

See QTransform::adjoint()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QTransform adjoint(){ return adjoint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QTransform adjoint_native_constfct(long __this__nativeId); /** *

See QTransform::determinant()const

*/ @QtUninvokable public final double determinant(){ return determinant_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double determinant_native_constfct(long __this__nativeId); /** *

See QTransform::dx()const

*/ @QtUninvokable public final double dx(){ return dx_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double dx_native_constfct(long __this__nativeId); /** *

See QTransform::dy()const

*/ @QtUninvokable public final double dy(){ return dy_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double dy_native_constfct(long __this__nativeId); /** *

See QTransform::inverted(bool*)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QTransform inverted(){ return inverted_native_bool_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QTransform inverted_native_bool_ptr_constfct(long __this__nativeId); /** *

See QTransform::isAffine()const

*/ @QtUninvokable public final boolean isAffine(){ return isAffine_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isAffine_native_constfct(long __this__nativeId); /** *

See QTransform::isIdentity()const

*/ @QtUninvokable public final boolean isIdentity(){ return isIdentity_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isIdentity_native_constfct(long __this__nativeId); /** *

See QTransform::isInvertible()const

*/ @QtUninvokable public final boolean isInvertible(){ return isInvertible_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isInvertible_native_constfct(long __this__nativeId); /** *

See QTransform::isRotating()const

*/ @QtUninvokable public final boolean isRotating(){ return isRotating_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isRotating_native_constfct(long __this__nativeId); /** *

See QTransform::isScaling()const

*/ @QtUninvokable public final boolean isScaling(){ return isScaling_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isScaling_native_constfct(long __this__nativeId); /** *

See QTransform::isTranslating()const

*/ @QtUninvokable public final boolean isTranslating(){ return isTranslating_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isTranslating_native_constfct(long __this__nativeId); /** *

See QTransform::m11()const

*/ @QtUninvokable public final double m11(){ return m11_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double m11_native_constfct(long __this__nativeId); /** *

See QTransform::m12()const

*/ @QtUninvokable public final double m12(){ return m12_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double m12_native_constfct(long __this__nativeId); /** *

See QTransform::m13()const

*/ @QtUninvokable public final double m13(){ return m13_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double m13_native_constfct(long __this__nativeId); /** *

See QTransform::m21()const

*/ @QtUninvokable public final double m21(){ return m21_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double m21_native_constfct(long __this__nativeId); /** *

See QTransform::m22()const

*/ @QtUninvokable public final double m22(){ return m22_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double m22_native_constfct(long __this__nativeId); /** *

See QTransform::m23()const

*/ @QtUninvokable public final double m23(){ return m23_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double m23_native_constfct(long __this__nativeId); /** *

See QTransform::m31()const

*/ @QtUninvokable public final double m31(){ return m31_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double m31_native_constfct(long __this__nativeId); /** *

See QTransform::m32()const

*/ @QtUninvokable public final double m32(){ return m32_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double m32_native_constfct(long __this__nativeId); /** *

See QTransform::m33()const

*/ @QtUninvokable public final double m33(){ return m33_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double m33_native_constfct(long __this__nativeId); /** *

See QTransform::map(QLine)const

*/ @QtUninvokable public final io.qt.core.@NonNull QLine map(io.qt.core.@NonNull QLine l){ return map_native_cref_QLine_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(l)); } @QtUninvokable private native io.qt.core.QLine map_native_cref_QLine_constfct(long __this__nativeId, long l); /** *

See QTransform::map(QLineF)const

*/ @QtUninvokable public final io.qt.core.@NonNull QLineF map(io.qt.core.@NonNull QLineF l){ return map_native_cref_QLineF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(l)); } @QtUninvokable private native io.qt.core.QLineF map_native_cref_QLineF_constfct(long __this__nativeId, long l); /** *

See QTransform::map(QPainterPath)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPainterPath map(io.qt.gui.@NonNull QPainterPath p){ return map_native_cref_QPainterPath_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native io.qt.gui.QPainterPath map_native_cref_QPainterPath_constfct(long __this__nativeId, long p); /** *

See QTransform::map(QPoint)const

*/ @QtUninvokable public final io.qt.core.@NonNull QPoint map(io.qt.core.@NonNull QPoint p){ return map_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native io.qt.core.QPoint map_native_cref_QPoint_constfct(long __this__nativeId, long p); /** *

See QTransform::map(QPointF)const

*/ @QtUninvokable public final io.qt.core.@NonNull QPointF map(io.qt.core.@NonNull QPointF p){ return map_native_cref_QPointF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native io.qt.core.QPointF map_native_cref_QPointF_constfct(long __this__nativeId, long p); /** *

See QTransform::map(QPolygon)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPolygon map(io.qt.gui.@NonNull QPolygon a){ return map_native_cref_QPolygon_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a)); } @QtUninvokable private native io.qt.gui.QPolygon map_native_cref_QPolygon_constfct(long __this__nativeId, long a); /** *

See QTransform::map(QPolygonF)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPolygonF map(io.qt.gui.@NonNull QPolygonF a){ return map_native_cref_QPolygonF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a)); } @QtUninvokable private native io.qt.gui.QPolygonF map_native_cref_QPolygonF_constfct(long __this__nativeId, long a); /** *

See QTransform::map(QRegion)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QRegion map(io.qt.gui.@NonNull QRegion r){ return map_native_cref_QRegion_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r)); } @QtUninvokable private native io.qt.gui.QRegion map_native_cref_QRegion_constfct(long __this__nativeId, long r); /** *

See QTransform::mapRect(QRect)const

*/ @QtUninvokable public final io.qt.core.@NonNull QRect mapRect(io.qt.core.@NonNull QRect arg__1){ return mapRect_native_cref_QRect_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native io.qt.core.QRect mapRect_native_cref_QRect_constfct(long __this__nativeId, long arg__1); /** *

See QTransform::mapRect(QRectF)const

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF mapRect(io.qt.core.@NonNull QRectF arg__1){ return mapRect_native_cref_QRectF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native io.qt.core.QRectF mapRect_native_cref_QRectF_constfct(long __this__nativeId, long arg__1); /** *

See QTransform::mapToPolygon(QRect)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPolygon mapToPolygon(io.qt.core.@NonNull QRect r){ return mapToPolygon_native_cref_QRect_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r)); } @QtUninvokable private native io.qt.gui.QPolygon mapToPolygon_native_cref_QRect_constfct(long __this__nativeId, long r); /** *

See QTransform::operator*(QTransform)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QTransform multiplied(io.qt.gui.@NonNull QTransform o){ return multiplied_native_cref_QTransform_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(o)); } @QtUninvokable private native io.qt.gui.QTransform multiplied_native_cref_QTransform_constfct(long __this__nativeId, long o); /** *

See operator*(QTransform,qreal)

*/ @QtUninvokable public final io.qt.gui.@NonNull QTransform times(double n){ return times_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), n); } @QtUninvokable private native io.qt.gui.QTransform times_native_qreal(long __this__nativeId, double n); /** *

See QTransform::operator*=(QTransform)

*/ @QtUninvokable public final @NonNull QTransform multiply(io.qt.gui.@NonNull QTransform arg__1){ return multiply_native_cref_QTransform(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native QTransform multiply_native_cref_QTransform(long __this__nativeId, long arg__1); /** *

See QTransform::operator*=(qreal)

*/ @QtUninvokable public final @NonNull QTransform multiply(double div){ return multiply_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), div); } @QtUninvokable private native QTransform multiply_native_qreal(long __this__nativeId, double div); /** *

See operator+(QTransform,qreal)

*/ @QtUninvokable public final io.qt.gui.@NonNull QTransform plus(double n){ return plus_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), n); } @QtUninvokable private native io.qt.gui.QTransform plus_native_qreal(long __this__nativeId, double n); /** *

See QTransform::operator+=(qreal)

*/ @QtUninvokable public final @NonNull QTransform add(double div){ return add_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), div); } @QtUninvokable private native QTransform add_native_qreal(long __this__nativeId, double div); /** *

See operator-(QTransform,qreal)

*/ @QtUninvokable public final io.qt.gui.@NonNull QTransform minus(double n){ return minus_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), n); } @QtUninvokable private native io.qt.gui.QTransform minus_native_qreal(long __this__nativeId, double n); /** *

See QTransform::operator-=(qreal)

*/ @QtUninvokable public final @NonNull QTransform subtract(double div){ return subtract_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), div); } @QtUninvokable private native QTransform subtract_native_qreal(long __this__nativeId, double div); /** *

See operator/(QTransform,qreal)

*/ @QtUninvokable public final io.qt.gui.@NonNull QTransform div(double n){ return div_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), n); } @QtUninvokable private native io.qt.gui.QTransform div_native_qreal(long __this__nativeId, double n); /** *

See QTransform::operator/=(qreal)

*/ @QtUninvokable public final @NonNull QTransform divide(double div){ return divide_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), div); } @QtUninvokable private native QTransform divide_native_qreal(long __this__nativeId, double div); /** *

See operator<<(QDataStream&,QTransform)

*/ @QtUninvokable public void writeTo(io.qt.core.@StrictNonNull QDataStream arg__1){ java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected."); writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void writeTo_native_ref_QDataStream(long __this__nativeId, long arg__1); /** *

See QTransform::operator=(QTransform)

*/ @QtUninvokable public final void assign(io.qt.gui.@NonNull QTransform arg__1){ assign_native_cref_QTransform(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void assign_native_cref_QTransform(long __this__nativeId, long arg__1); /** *

See QTransform::operator==(QTransform)const

*/ @QtUninvokable public final boolean equals(io.qt.gui.@NonNull QTransform arg__1){ return equals_native_cref_QTransform_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native boolean equals_native_cref_QTransform_constfct(long __this__nativeId, long arg__1); /** *

See operator>>(QDataStream&,QTransform&)

*/ @QtUninvokable public void readFrom(io.qt.core.@StrictNonNull QDataStream arg__1){ java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected."); readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void readFrom_native_ref_QDataStream(long __this__nativeId, long arg__1); /** *

See QTransform::reset()

*/ @QtUninvokable public final void reset(){ reset_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void reset_native(long __this__nativeId); /** *

See QTransform::rotate(qreal,Qt::Axis)

*/ @QtUninvokable public final @NonNull QTransform rotate(double a, io.qt.core.Qt.@NonNull Axis axis){ return rotate_native_qreal_Qt_Axis(QtJambi_LibraryUtilities.internal.nativeId(this), a, axis.value()); } @QtUninvokable private native QTransform rotate_native_qreal_Qt_Axis(long __this__nativeId, double a, int axis); /** *

See QTransform::rotate(qreal,Qt::Axis,qreal)

*/ @QtUninvokable public final @NonNull QTransform rotate(double a, io.qt.core.Qt.@NonNull Axis axis, double distanceToPlane){ return rotate_native_qreal_Qt_Axis_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), a, axis.value(), distanceToPlane); } @QtUninvokable private native QTransform rotate_native_qreal_Qt_Axis_qreal(long __this__nativeId, double a, int axis, double distanceToPlane); /** *

See QTransform::rotateRadians(qreal,Qt::Axis)

*/ @QtUninvokable public final @NonNull QTransform rotateRadians(double a, io.qt.core.Qt.@NonNull Axis axis){ return rotateRadians_native_qreal_Qt_Axis(QtJambi_LibraryUtilities.internal.nativeId(this), a, axis.value()); } @QtUninvokable private native QTransform rotateRadians_native_qreal_Qt_Axis(long __this__nativeId, double a, int axis); /** *

See QTransform::rotateRadians(qreal,Qt::Axis,qreal)

*/ @QtUninvokable public final @NonNull QTransform rotateRadians(double a, io.qt.core.Qt.@NonNull Axis axis, double distanceToPlane){ return rotateRadians_native_qreal_Qt_Axis_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), a, axis.value(), distanceToPlane); } @QtUninvokable private native QTransform rotateRadians_native_qreal_Qt_Axis_qreal(long __this__nativeId, double a, int axis, double distanceToPlane); /** *

See QTransform::scale(qreal,qreal)

*/ @QtUninvokable public final @NonNull QTransform scale(double sx, double sy){ return scale_native_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), sx, sy); } @QtUninvokable private native QTransform scale_native_qreal_qreal(long __this__nativeId, double sx, double sy); /** *

See QTransform::setMatrix(qreal,qreal,qreal,qreal,qreal,qreal,qreal,qreal,qreal)

*/ @QtUninvokable public final void setMatrix(double m11, double m12, double m13, double m21, double m22, double m23, double m31, double m32, double m33){ setMatrix_native_qreal_qreal_qreal_qreal_qreal_qreal_qreal_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), m11, m12, m13, m21, m22, m23, m31, m32, m33); } @QtUninvokable private native void setMatrix_native_qreal_qreal_qreal_qreal_qreal_qreal_qreal_qreal_qreal(long __this__nativeId, double m11, double m12, double m13, double m21, double m22, double m23, double m31, double m32, double m33); /** *

See QTransform::shear(qreal,qreal)

*/ @QtUninvokable public final @NonNull QTransform shear(double sh, double sv){ return shear_native_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), sh, sv); } @QtUninvokable private native QTransform shear_native_qreal_qreal(long __this__nativeId, double sh, double sv); /** *

See QTransform::translate(qreal,qreal)

*/ @QtUninvokable public final @NonNull QTransform translate(double dx, double dy){ return translate_native_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy); } @QtUninvokable private native QTransform translate_native_qreal_qreal(long __this__nativeId, double dx, double dy); /** *

See QTransform::transposed()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QTransform transposed(){ return transposed_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QTransform transposed_native_constfct(long __this__nativeId); /** *

See QTransform::type()const

*/ @QtUninvokable public final io.qt.gui.QTransform.@NonNull TransformationType type(){ return io.qt.gui.QTransform.TransformationType.resolve(type_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int type_native_constfct(long __this__nativeId); /** *

See QTransform::fromScale(qreal,qreal)

*/ public native static io.qt.gui.@NonNull QTransform fromScale(double dx, double dy); /** *

See QTransform::fromTranslate(qreal,qreal)

*/ public native static io.qt.gui.@NonNull QTransform fromTranslate(double dx, double dy); /** *

See qFuzzyCompare(QTransform,QTransform)

*/ public static boolean qFuzzyCompare(io.qt.gui.@NonNull QTransform t1, io.qt.gui.@NonNull QTransform t2){ return qFuzzyCompare_native_cref_QTransform_cref_QTransform(QtJambi_LibraryUtilities.internal.checkedNativeId(t1), QtJambi_LibraryUtilities.internal.checkedNativeId(t2)); } private native static boolean qFuzzyCompare_native_cref_QTransform_cref_QTransform(long t1, long t2); /** *

See QTransform::quadToQuad(QPolygonF,QPolygonF,QTransform&)

*/ public static boolean quadToQuad(io.qt.gui.@NonNull QPolygonF one, io.qt.gui.@NonNull QPolygonF two, io.qt.gui.@StrictNonNull QTransform result){ java.util.Objects.requireNonNull(result, "Argument 'result': null not expected."); return quadToQuad_native_cref_QPolygonF_cref_QPolygonF_ref_QTransform(QtJambi_LibraryUtilities.internal.checkedNativeId(one), QtJambi_LibraryUtilities.internal.checkedNativeId(two), QtJambi_LibraryUtilities.internal.checkedNativeId(result)); } private native static boolean quadToQuad_native_cref_QPolygonF_cref_QPolygonF_ref_QTransform(long one, long two, long result); /** *

See QTransform::quadToSquare(QPolygonF,QTransform&)

*/ public static boolean quadToSquare(io.qt.gui.@NonNull QPolygonF quad, io.qt.gui.@StrictNonNull QTransform result){ java.util.Objects.requireNonNull(result, "Argument 'result': null not expected."); return quadToSquare_native_cref_QPolygonF_ref_QTransform(QtJambi_LibraryUtilities.internal.checkedNativeId(quad), QtJambi_LibraryUtilities.internal.checkedNativeId(result)); } private native static boolean quadToSquare_native_cref_QPolygonF_ref_QTransform(long quad, long result); /** *

See QTransform::squareToQuad(QPolygonF,QTransform&)

*/ public static boolean squareToQuad(io.qt.gui.@NonNull QPolygonF square, io.qt.gui.@StrictNonNull QTransform result){ java.util.Objects.requireNonNull(result, "Argument 'result': null not expected."); return squareToQuad_native_cref_QPolygonF_ref_QTransform(QtJambi_LibraryUtilities.internal.checkedNativeId(square), QtJambi_LibraryUtilities.internal.checkedNativeId(result)); } private native static boolean squareToQuad_native_cref_QPolygonF_ref_QTransform(long square, long result); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QTransform(QPrivateConstructor p) { super(p); } /** *

See QTransform::operator==(QTransform)const

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.gui.QTransform) { return equals((io.qt.gui.QTransform) other); } return false; } /** * Returns the objects's hash code computed by qHash(QTransform). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** * @see #squareToQuad(QPolygonF, QTransform) */ public static io.qt.gui.@Nullable QTransform squareToQuad(io.qt.gui.@NonNull QPolygonF square){ QTransform transform = new QTransform(); if(squareToQuad(square, transform)) return transform; else return null; } /** * @see #quadToSquare(QPolygonF, QTransform) */ public static io.qt.gui.@Nullable QTransform quadToSquare(io.qt.gui.@NonNull QPolygonF quad){ QTransform transform = new QTransform(); if(quadToSquare(quad, transform)) return transform; else return null; } /** * @see #quadToQuad(QPolygonF, QPolygonF, QTransform) */ public static io.qt.gui.@Nullable QTransform quadToQuad(io.qt.gui.@NonNull QPolygonF one, io.qt.gui.@NonNull QPolygonF two){ QTransform transform = new QTransform(); if(quadToQuad(one, two, transform)) return transform; else return null; } /** *

See operator<<(QDebug,QTransform)

*/ @QtUninvokable @Override public @NonNull String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private static native String toString_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

See QTransform::QTransform(QTransform)

*/ @QtUninvokable @Override public QTransform clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QTransform clone_native(long __this_nativeId); /** *

Overloaded function for {@link #map(io.qt.gui.QRegion)}.

*/ @QtUninvokable public final io.qt.gui.@NonNull QRegion map(io.qt.core.@NonNull QRect r) { return map(new io.qt.gui.QRegion(r)); } /** *

Overloaded function for {@link #map(io.qt.gui.QRegion)}.

*/ @QtUninvokable public final io.qt.gui.@NonNull QRegion map(io.qt.gui.@NonNull QBitmap r) { return map(new io.qt.gui.QRegion(r)); } /** *

Overloaded function for {@link #rotate(double, io.qt.core.Qt.Axis)} * with axis = io.qt.core.Qt.Axis.ZAxis.

*/ @QtUninvokable public final @NonNull QTransform rotate(double a) { return rotate(a, io.qt.core.Qt.Axis.ZAxis); } /** *

Overloaded function for {@link #rotateRadians(double, io.qt.core.Qt.Axis)} * with axis = io.qt.core.Qt.Axis.ZAxis.

*/ @QtUninvokable public final @NonNull QTransform rotateRadians(double a) { return rotateRadians(a, io.qt.core.Qt.Axis.ZAxis); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy