Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.0
-
Ubuntu 12.04 64-bit
-
030ebca1f74dfb6f858bc4e2c594bd2075ca189c
Description
import QtQuick 2.0 Item { id: root width: 300 height: 300 function degToRad(degrees) { return degrees * (Math.PI / 180); } Canvas { id: contentCanvas width: parent.width height: parent.height onPaint: { var ctx = getContext("2d"); ctx.lineWidth = 8; ctx.strokeStyle = "blue"; ctx.shadowBlur = 8; ctx.shadowColor = "blue"; ctx.shadowOffsetX = 0; ctx.shadowOffsetY = 0; ctx.beginPath(); ctx.arc(width / 2, height / 2, 50, degToRad(0), degToRad(360), false); ctx.stroke(); } } }
Attachments
Issue Links
- relates to
-
QTBUG-30918 Canvas: shadowBlur is either missing or rough for small values
-
- Closed
-