Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qsgsoftwareinternalimagenode.cpp File Reference

(0dc4fd240a2897c5c443a0ef6d84c416843e4938)

#include "qsgsoftwareinternalimagenode_p.h"
#include "qsgsoftwarepixmaptexture_p.h"
#include "qsgsoftwarelayer_p.h"
#include <QPainter>
#include <qmath.h>
+ Include dependency graph for qsgsoftwareinternalimagenode.cpp:

Go to the source code of this file.

Namespaces

namespace  QSGSoftwareHelpers
 

Functions

static QMargins QSGSoftwareHelpers::normalizedMargins (const QMargins &m)
 
void QSGSoftwareHelpers::qDrawBorderPixmap (QPainter *painter, const QRect &targetRect, const QMargins &targetMarginsIn, const QPixmap &pixmap, const QRect &sourceRect, const QMargins &sourceMarginsIn, const QTileRules &rules, QDrawBorderPixmap::DrawingHints hints)
 
static Qt::TileRule getTileRule (qreal factor)
 

Function Documentation

◆ getTileRule()

static Qt::TileRule getTileRule ( qreal factor)
static

Definition at line 408 of file qsgsoftwareinternalimagenode.cpp.

References qFuzzyCompare(), qRound(), Qt::RepeatTile, Qt::RoundTile, and Qt::StretchTile.

Referenced by QSGSoftwareInternalImageNode::paint().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: