Skip to content

RTextLayout

Class in Core Module
Header: #include <src/core/RTextLayout.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.

Scriptable: This class is available in script environments.

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

RTextLayout()
RTextLayout(const QList< RPainterPath > &pps, const QColor &color)
RTextLayout(QSharedPointer< QTextLayout > layout, const QTransform &transform, const QColor &color)
RBox getBoundingBox() const
QColor getColor() const
QString getFont() const
double getHeight() const
QSharedPointer< QTextLayout > getLayout() const
QString getText() const
QTransform getTransform() const
bool hasPainterPath() const
bool isBold() const
bool isEmpty() const
bool isItalic() const
bool isTTF() const
bool isUnderline() const
RBox boundingBox
QColor color
int correspondingPainterPaths
double height
QSharedPointer< QTextLayout > layout
QList< RPainterPath > painterPaths
QTransform transform
bool ttf

RTextLayout::RTextLayout()

inline

RTextLayout::RTextLayout(const QList< RPainterPath > &pps, const QColor &color)

inline

RTextLayout::RTextLayout(QSharedPointer< QTextLayout > layout, const QTransform &transform, const QColor &color)

inline

Non-Scriptable: This function is not available in script environments.

RBox RTextLayout::getBoundingBox() const

inline const

QColor RTextLayout::getColor() const

inline const

QString RTextLayout::getFont() const

inline const

double RTextLayout::getHeight() const

inline const

QSharedPointer< QTextLayout > RTextLayout::getLayout() const

inline const

QString RTextLayout::getText() const

inline const

QTransform RTextLayout::getTransform() const

inline const

bool RTextLayout::hasPainterPath() const

inline const

bool RTextLayout::isBold() const

inline const

bool RTextLayout::isEmpty() const

inline const

bool RTextLayout::isItalic() const

inline const

bool RTextLayout::isTTF() const

inline const

bool RTextLayout::isUnderline() const

inline const

RBox RTextLayout::boundingBox

QColor RTextLayout::color

int RTextLayout::correspondingPainterPaths

double RTextLayout::height

QSharedPointer<QTextLayout> RTextLayout::layout

QList<RPainterPath> RTextLayout::painterPaths

QTransform RTextLayout::transform

bool RTextLayout::ttf