Project

General

Profile

Actions

Bug #5622

open

WPainter draws ellipses as 360 degree arcs, which is not the same

Added by Roel Standaert about 7 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/24/2017
Due date:
% Done:

0%

Estimated time:

Description

This becomes clear when drawing ellipses with a thick stroke and the square cap style: an arc has a cap at its start and end, whereas an ellipse does not have caps. Ideally, this should be specialized for every device, and their dedicated drawEllipse function used if available.


Files

paintstroke.cpp (1.63 KB) paintstroke.cpp Roel Standaert, 03/24/2017 03:30 PM
Actions #1

Updated by Roel Standaert about 7 years ago

drawArc seems to have many issues. Luckily, we don't actually use it internally in Wt. Attached is a test that shows some of the issues.

Actions

Also available in: Atom PDF