Skip to content

RTransformOp

Class in Math Module
Header: #include <src/core/math/RTransformOp.h>

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD. Represents a transform operation within an RTransform object.

Scriptable: This class is available in script environments.

Copyable: Objects are cleaned up automatically by the garbage collector of the script engine.

enum Type { Translation, Scale, Rotation }
qreal getD1() const
qreal getD2() const
RTransformOp::Type getType() const
static RTransformOp createRotation(qreal a)
static RTransformOp createScale(qreal sx, qreal sy)
static RTransformOp createTranslation(qreal dx, qreal dy)
qreal d1
Getter function for this property: getD1.
qreal d2
Getter function for this property: getD2.
RTransformOp::Type type
Getter function for this property: getType.

enum Type
Value Description
Translation
Scale
Rotation

qreal RTransformOp::getD1() const

inline const

qreal RTransformOp::getD2() const

inline const

RTransformOp::Type RTransformOp::getType() const

inline const

static RTransformOp RTransformOp::createRotation(qreal a)

static inline

static RTransformOp RTransformOp::createScale(qreal sx, qreal sy)

static inline

static RTransformOp RTransformOp::createTranslation(qreal dx, qreal dy)

static inline

qreal RTransformOp::d1

Getter function for this property: getD1.

qreal RTransformOp::d2

Getter function for this property: getD2.

RTransformOp::Type RTransformOp::type

Getter function for this property: getType.