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

(34519d44ffd0327a676f6af41f63191912b583e6)

#include "qpathsimplifier_p.h"
#include <QtCore/qvarlengtharray.h>
#include <QtCore/qglobal.h>
#include <QtCore/qpoint.h>
#include <QtCore/qalgorithms.h>
#include <private/qrbtree_p.h>
+ Include dependency graph for qpathsimplifier.cpp:

Go to the source code of this file.

Macros

#define Q_FIXED_POINT_SCALE   256
 
#define Q_TRIANGULATE_END_OF_POLYGON   quint32(-1)
 

Functions

bool operator< (const QPoint &a, const QPoint &b)
 
bool operator> (const QPoint &a, const QPoint &b)
 
bool operator<= (const QPoint &a, const QPoint &b)
 
bool operator>= (const QPoint &a, const QPoint &b)
 
 Q_DECLARE_TYPEINFO (PathSimplifier::Event, Q_PRIMITIVE_TYPE)
 
void qSimplifyPath (const QVectorPath &path, QDataBuffer< QPoint > &vertices, QDataBuffer< quint32 > &indices, const QTransform &matrix)
 
void qSimplifyPath (const QPainterPath &path, QDataBuffer< QPoint > &vertices, QDataBuffer< quint32 > &indices, const QTransform &matrix)
 

Macro Definition Documentation

◆ Q_FIXED_POINT_SCALE

◆ Q_TRIANGULATE_END_OF_POLYGON

#define Q_TRIANGULATE_END_OF_POLYGON   quint32(-1)

Definition at line 19 of file qpathsimplifier.cpp.

Function Documentation

◆ operator<()

bool operator< ( const QPoint & a,
const QPoint & b )
inline

Definition at line 27 of file qpathsimplifier.cpp.

◆ operator<=()

bool operator<= ( const QPoint & a,
const QPoint & b )
inline

Definition at line 37 of file qpathsimplifier.cpp.

◆ operator>()

bool operator> ( const QPoint & a,
const QPoint & b )
inline

Definition at line 32 of file qpathsimplifier.cpp.

◆ operator>=()

bool operator>= ( const QPoint & a,
const QPoint & b )
inline

Definition at line 42 of file qpathsimplifier.cpp.

◆ Q_DECLARE_TYPEINFO()

Q_DECLARE_TYPEINFO ( PathSimplifier::Event ,
Q_PRIMITIVE_TYPE  )

◆ qSimplifyPath() [1/2]

void qSimplifyPath ( const QPainterPath & path,
QDataBuffer< QPoint > & vertices,
QDataBuffer< quint32 > & indices,
const QTransform & matrix )

Definition at line 1630 of file qpathsimplifier.cpp.

References qSimplifyPath(), and qtVectorPathForPath().

+ Here is the call graph for this function:

◆ qSimplifyPath() [2/2]

void qSimplifyPath ( const QVectorPath & path,
QDataBuffer< QPoint > & vertices,
QDataBuffer< quint32 > & indices,
const QTransform & matrix )

Definition at line 1624 of file qpathsimplifier.cpp.

Referenced by makeDistanceField(), and qSimplifyPath().

+ Here is the caller graph for this function: