Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qtriangulatingstroker.cpp File Reference
#include "qtriangulatingstroker_p.h"
#include <qmath.h>
+ Include dependency graph for qtriangulatingstroker.cpp:

Go to the source code of this file.

Macros

#define CURVE_FLATNESS   Q_PI / 8
 

Functions

static void skipDuplicatePoints (const qreal **pts, const qreal *endPts)
 
static void qdashprocessor_moveTo (qreal x, qreal y, void *data)
 
static void qdashprocessor_lineTo (qreal x, qreal y, void *data)
 
static void qdashprocessor_cubicTo (qreal, qreal, qreal, qreal, qreal, qreal, void *)
 

Macro Definition Documentation

◆ CURVE_FLATNESS

#define CURVE_FLATNESS   Q_PI / 8

Definition at line 9 of file qtriangulatingstroker.cpp.

Function Documentation

◆ qdashprocessor_cubicTo()

static void qdashprocessor_cubicTo ( qreal  ,
qreal  ,
qreal  ,
qreal  ,
qreal  ,
qreal  ,
void  
)
static

Definition at line 491 of file qtriangulatingstroker.cpp.

References Q_ASSERT.

Referenced by QDashedStrokeProcessor::QDashedStrokeProcessor().

+ Here is the caller graph for this function:

◆ qdashprocessor_lineTo()

static void qdashprocessor_lineTo ( qreal  x,
qreal  y,
void data 
)
static

Definition at line 486 of file qtriangulatingstroker.cpp.

References QPainterPath::LineToElement.

Referenced by QDashedStrokeProcessor::QDashedStrokeProcessor().

+ Here is the caller graph for this function:

◆ qdashprocessor_moveTo()

static void qdashprocessor_moveTo ( qreal  x,
qreal  y,
void data 
)
static

Definition at line 481 of file qtriangulatingstroker.cpp.

References QPainterPath::MoveToElement.

Referenced by QDashedStrokeProcessor::QDashedStrokeProcessor().

+ Here is the caller graph for this function:

◆ skipDuplicatePoints()

static void skipDuplicatePoints ( const qreal **  pts,
const qreal endPts 
)
inlinestatic

Definition at line 38 of file qtriangulatingstroker.cpp.

Referenced by QTriangulatingStroker::process().

+ Here is the caller graph for this function: