18#include <QtGui/private/qtguiglobal_p.h>
19#include "QtCore/qline.h"
20#include "QtCore/qlist.h"
21#include "QtCore/qpair.h"
22#include "QtCore/qpoint.h"
23#include "QtCore/qrect.h"
24#include "QtGui/qtransform.h"
25#include <private/qdatabuffer_p.h>
36 {
return {
p1.x(),
p1.y(),
p2.x(),
p2.y(), p3.
x(), p3.
y(), p4.
x(), p4.
y()}; }
46 QPolygonF toPolygon(
qreal bezier_flattening_threshold = 0.5)
const;
47 void addToPolygon(
QPolygonF *
p,
qreal bezier_flattening_threshold = 0.5)
const;
52 int inflectionPoints(
qreal *tpoints)
const;
70 inline QPointF midPoint()
const;
71 inline QLineF midTangent()
const;
73 inline QLineF startTangent()
const;
74 inline QLineF endTangent()
const;
77 inline std::pair<QBezier, QBezier>
split()
const;
79 int shifted(
QBezier *curveSegments,
int maxSegmets,
98 mid.
x() +
dir.dx(), mid.
y() +
dir.dy());
195 const auto mid = [](
QPointF lhs,
QPointF rhs) {
return (lhs + rhs) * .5; };
200 const QPointF mid_12_23 = mid(mid_12, mid_23);
201 const QPointF mid_23_34 = mid(mid_23, mid_34);
202 const QPointF mid_12_23__23_34 = mid(mid_12_23, mid_23_34);
static QBezier fromPoints(const QPointF &p1, const QPointF &p2, const QPointF &p3, const QPointF &p4)
QLineF midTangent() const
std::pair< QBezier, QBezier > split() const
QPointF pointAt(qreal t) const
void parameterSplitLeft(qreal t, QBezier *left)
QLineF startTangent() const
static void coefficients(qreal t, qreal &a, qreal &b, qreal &c, qreal &d)
QPointF secondDerivedAt(qreal t) const
QPointF derivedAt(qreal t) const
QLineF endTangent() const
QPointF normalVector(qreal t) const
constexpr bool isNull() const
Returns true if the line does not have distinct start and end points; otherwise returns false.
\inmodule QtCore\reentrant
constexpr qreal x() const noexcept
Returns the x coordinate of this point.
constexpr qreal y() const noexcept
Returns the y coordinate of this point.
The QPolygonF class provides a list of points using floating point precision.
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
GLboolean GLboolean GLboolean b
GLint GLint GLint GLint GLint x
[0]
GLboolean GLboolean GLboolean GLboolean a
[7]
GLuint GLfloat GLfloat GLfloat GLfloat y1
GLuint GLfloat GLfloat GLfloat x1
GLenum GLuint GLenum GLsizei length
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat t1
[4]
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat t0
GLenum GLuint GLintptr offset
GLuint GLenum GLenum transform
GLfixed GLfixed GLfixed y2
static void split(QT_FT_Vector *b)