QskPlainTextRenderer

Functions

  Name
void updateNode(const QString & text, const QFont & font, const QskTextOptions & options, Qsk::TextStyle style, const QskTextColors & colors, Qt::Alignment alignment, const QRectF & rect, const QQuickItem * item, QSGTransformNode * node)
void updateNodeColor(QSGNode * parentNode, const QColor & textColor, Qsk::TextStyle style, const QColor & styleColor)
QSizeF textSize(const QString & text, const QFont & font, const QskTextOptions & options)
QRectF textRect(const QString & text, const QFont & font, const QskTextOptions & options, const QSizeF & size)

Functions Documentation

function updateNode

void updateNode(
    const QString & text,
    const QFont & font,
    const QskTextOptions & options,
    Qsk::TextStyle style,
    const QskTextColors & colors,
    Qt::Alignment alignment,
    const QRectF & rect,
    const QQuickItem * item,
    QSGTransformNode * node
)

function updateNodeColor

void updateNodeColor(
    QSGNode * parentNode,
    const QColor & textColor,
    Qsk::TextStyle style,
    const QColor & styleColor
)

function textSize

QSizeF textSize(
    const QString & text,
    const QFont & font,
    const QskTextOptions & options
)

function textRect

QRectF textRect(
    const QString & text,
    const QFont & font,
    const QskTextOptions & options,
    const QSizeF & size
)

Updated on 28 July 2023 at 14:02:29 CEST