diff options
Diffstat (limited to 'src/openvg/qpaintengine_vg.cpp')
-rw-r--r-- | src/openvg/qpaintengine_vg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/openvg/qpaintengine_vg.cpp b/src/openvg/qpaintengine_vg.cpp index 34f9cf8..3558c28 100644 --- a/src/openvg/qpaintengine_vg.cpp +++ b/src/openvg/qpaintengine_vg.cpp @@ -566,11 +566,11 @@ VGPath QVGPaintEnginePrivate::vectorPathToVGPath(const QVectorPath& path) case QPainterPath::LineToElement: segments.append(VG_LINE_TO_ABS); break; - case QPainterPath::CurveToElement: break; - - case QPainterPath::CurveToDataElement: + case QPainterPath::CurveToElement: segments.append(VG_CUBIC_TO_ABS); break; + case QPainterPath::CurveToDataElement: break; + } } if (path.hasImplicitClose()) |