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

(14d1108d3562f6e409505ba49b7bce82d70bd64f)

#include "qpaintengineex_p.h"
#include "qpainter_p.h"
#include "qstroker_p.h"
#include "qbezier_p.h"
#include <private/qpainterpath_p.h>
#include <private/qfontengine_p.h>
#include <private/qstatictext_p.h>
#include <qvarlengtharray.h>
#include <qdebug.h>
+ Include dependency graph for qpaintengineex.cpp:

Go to the source code of this file.

Classes

struct  StrokeHandler
 

Macros

#define QT_MAX_CACHED_GLYPH_SIZE   64
 

Functions

const QVectorPathqtVectorPathForPath (const QPainterPath &path)
 
QDebug Q_GUI_EXPORT & operator<< (QDebug &s, const QVectorPath &path)
 
static void qpaintengineex_moveTo (qreal x, qreal y, void *data)
 
static void qpaintengineex_lineTo (qreal x, qreal y, void *data)
 
static void qpaintengineex_cubicTo (qreal c1x, qreal c1y, qreal c2x, qreal c2y, qreal ex, qreal ey, void *data)
 
Q_GUI_EXPORT bool qt_scaleForTransform (const QTransform &transform, qreal *scale)
 
Q_GUI_EXPORT QPainterPath qt_painterPathFromVectorPath (const QVectorPath &path)
 

Variables

static const QPainterPath::ElementType qpaintengineex_ellipse_types []
 
static const QPainterPath::ElementType qpaintengineex_line_types_16 []
 
static const QPainterPath::ElementType qpaintengineex_rect4_types_32 []
 
static const QPainterPath::ElementType qpaintengineex_roundedrect_types []
 

Macro Definition Documentation

◆ QT_MAX_CACHED_GLYPH_SIZE

#define QT_MAX_CACHED_GLYPH_SIZE   64

Function Documentation

◆ operator<<()

QDebug Q_GUI_EXPORT & operator<< ( QDebug & s,
const QVectorPath & path )

Definition at line 102 of file qpaintengineex.cpp.

References Qt::hex().

+ Here is the call graph for this function:

◆ qpaintengineex_cubicTo()

static void qpaintengineex_cubicTo ( qreal c1x,
qreal c1y,
qreal c2x,
qreal c2y,
qreal ex,
qreal ey,
void * data )
static

Definition at line 317 of file qpaintengineex.cpp.

References QPainterPath::CurveToDataElement, and QPainterPath::CurveToElement.

Referenced by QPaintEngineEx::stroke().

+ Here is the caller graph for this function:

◆ qpaintengineex_lineTo()

static void qpaintengineex_lineTo ( qreal x,
qreal y,
void * data )
static

Definition at line 311 of file qpaintengineex.cpp.

References QPainterPath::LineToElement.

Referenced by QPaintEngineEx::stroke().

+ Here is the caller graph for this function:

◆ qpaintengineex_moveTo()

static void qpaintengineex_moveTo ( qreal x,
qreal y,
void * data )
static

Definition at line 305 of file qpaintengineex.cpp.

References QPainterPath::MoveToElement.

Referenced by QPaintEngineEx::stroke().

+ Here is the caller graph for this function:

◆ qt_painterPathFromVectorPath()

Q_GUI_EXPORT QPainterPath qt_painterPathFromVectorPath ( const QVectorPath & path)

Definition at line 1001 of file qpaintengineex.cpp.

References QPainterPath::CurveToDataElement, QPainterPath::CurveToElement, i, QPainterPath::LineToElement, QPainterPath::moveTo(), QPainterPath::MoveToElement, p1, p2, Qt::WindingFill, and QVectorPath::WindingFill.

+ Here is the call graph for this function:

◆ qt_scaleForTransform()

Q_GUI_EXPORT bool qt_scaleForTransform ( const QTransform & transform,
qreal * scale )
extern

Definition at line 2148 of file qtransform.cpp.

◆ qtVectorPathForPath()

Variable Documentation

◆ qpaintengineex_ellipse_types

◆ qpaintengineex_line_types_16

◆ qpaintengineex_rect4_types_32

const QPainterPath::ElementType qpaintengineex_rect4_types_32[]
static

Definition at line 247 of file qpaintengineex.cpp.

Referenced by QPaintEngineEx::clip().

◆ qpaintengineex_roundedrect_types