The (example) code used a real to hold 360 / 7, which is of course 51, discarding the 3/7 that was most likely meant to be kept. Noticed by Coverity (CID 22364). Use 360.0 instead of 360 to get more accurate results. Change-Id: Ifdfbb932589d8ea728710e8b656af651c9f8a7d2 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> |
||
|---|---|---|
| .. | ||
| main.cpp | ||
| pathstroke.cpp | ||
| pathstroke.h | ||
| pathstroke.html | ||
| pathstroke.pro | ||
| pathstroke.qrc | ||