C

<platforminterface/arc.h> - Arc handling

Provides arc handling convenience functions. More...

Header: #include <platforminterface/arc.h>

Functions

void pathArcToBeziers(Qul::PlatformInterface::cubicToPath func, void *data, float radiusX, float radiusY, float xAxisRotation, bool useLargeArc, bool clockwise, const Qul::PlatformInterface::PointF &source, const Qul::PlatformInterface::PointF &target)

Detailed Description

Classes

Function Documentation

[since Qt Quick Ultralite (Platform) 1.8] void pathArcToBeziers(Qul::PlatformInterface::cubicToPath func, void *data, float radiusX, float radiusY, float xAxisRotation, bool useLargeArc, bool clockwise, const Qul::PlatformInterface::PointF &source, const Qul::PlatformInterface::PointF &target)

Converts an arc segment into a series of bezier curves.

The provided callback func will be called up to four times, with cubic bezier curve parameters. The data handle will also be given as the first argument to the callback and can be used to provide necessaradiusY context information.

The radiusX, radiusY, xAxisRotation, useLargeArc, clockwise, source and target parameters define the arc segment in accordance with the SVG standard.

This function was introduced in Qt Quick Ultralite (Platform) 1.8.

See also Qul::PlatformInterface::PathDataArcSegment.

Available under certain Qt licenses.
Find out more.