fix: graph jitter on load + format
This commit is contained in:
@@ -49,16 +49,12 @@ qreal cubicY(
|
||||
// The curve point at targetX on the polyline, interpolating across the segment
|
||||
// that contains it. Assumes points ascend in x.
|
||||
QPointF pointAtX(
|
||||
const QVector<QPointF>& points,
|
||||
qreal targetX,
|
||||
bool curveSmoothing);
|
||||
const QVector<QPointF>& points, qreal targetX, bool curveSmoothing);
|
||||
|
||||
// A dense polyline through points, adding one vertex per device-pixel column
|
||||
// inside each segment so an edge never interpolates across several columns. The
|
||||
// result starts at points.first() and ends at points.last(). points must ascend in
|
||||
// x and hold at least two entries. Backends consume it as a moveTo/lineTo chain.
|
||||
QVector<QPointF> curveVertices(
|
||||
const QVector<QPointF>& points,
|
||||
qreal dpr,
|
||||
bool curveSmoothing);
|
||||
const QVector<QPointF>& points, qreal dpr, bool curveSmoothing);
|
||||
} // namespace ZShell::internal
|
||||
|
||||
Reference in New Issue
Block a user