Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qpathsimplifier.cpp File Reference

(30a753944300c13e96f9239a9891cbc8e2e378c1)

#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

#define Q_FIXED_POINT_SCALE   256

Definition at line 18 of file qpathsimplifier.cpp.

◆ 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 1642 of file qpathsimplifier.cpp.

◆ qSimplifyPath() [2/2]

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

Definition at line 1636 of file qpathsimplifier.cpp.