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
qsvggraphics.cpp File Reference

(59bbe94c2117d34290e0462876c39d08a6661961)

#include "qsvggraphics_p.h"
#include "qsvgstructure_p.h"
#include "qsvgfont_p.h"
#include <qabstracttextdocumentlayout.h>
#include <qdebug.h>
#include <qloggingcategory.h>
#include <qpainter.h>
#include <qscopedvaluerollback.h>
#include <qtextcursor.h>
#include <qtextdocument.h>
#include <private/qfixed_p.h>
#include <QElapsedTimer>
#include <QLoggingCategory>
#include <math.h>
#include <limits.h>
+ Include dependency graph for qsvggraphics.cpp:

Go to the source code of this file.

Macros

#define QT_SVG_MAX_LAYOUT_SIZE   (qint64(QFIXED_MAX / 2))
 

Functions

static QRectF boundsOnStroke (QPainter *p, const QPainterPath &path, qreal width)
 

Macro Definition Documentation

◆ QT_SVG_MAX_LAYOUT_SIZE

#define QT_SVG_MAX_LAYOUT_SIZE   (qint64(QFIXED_MAX / 2))

Definition at line 28 of file qsvggraphics.cpp.

Referenced by QSvgText::shouldDrawNode().

Function Documentation

◆ boundsOnStroke()

static QRectF boundsOnStroke ( QPainter * p,
const QPainterPath & path,
qreal width )
inlinestatic

Definition at line 36 of file qsvggraphics.cpp.

References QPainterPath::boundingRect(), QPainterPathStroker::createStroke(), and QPainterPathStroker::setWidth().

Referenced by QSvgEllipse::bounds(), QSvgLine::bounds(), QSvgPath::bounds(), QSvgPolygon::bounds(), QSvgPolyline::bounds(), and QSvgRect::bounds().

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