mapper icon indicating copy to clipboard operation
mapper copied to clipboard

Circle symbol inaccuracy

Open dg0yt opened this issue 13 years ago • 6 comments

dg0yt reported on Sourceforge [tickets:#51]:

Circle symbols show a visible deviation from a proper circle shape. The following picture contains a blue circle symbol (312 Well) from an OpenOrienteering screenshot over a black circle created in Gimp:

Illustration of the circle symbol inaccuracy

This is probably a Qt issue.

dg0yt avatar Feb 26 '12 16:02 dg0yt

  • labels: --> Graphics, Qt
  • category: --> Bug_Report

dg0yt avatar Sep 07 '12 20:09 dg0yt

  • status: open --> wont-fix

dg0yt avatar Mar 24 '13 14:03 dg0yt

Changing this ticket to closed status. It will remain visible in Milestone - bugs -, but not in search Open Bugs.

dg0yt avatar Mar 24 '13 14:03 dg0yt

  • Milestone: - bugs - --> wont-fix

dg0yt avatar Oct 10 '13 06:10 dg0yt

  • Milestone: invalid --> - bugs -

dg0yt avatar Oct 10 '13 06:10 dg0yt

The circle is drawn as a line with QPainter::drawEllipse(): https://github.com/OpenOrienteering/mapper/blob/9667e45ba36b587c7bed32fca88ae9c0a11d2bcd/src/core/renderables/renderable_implementation.cpp#L138-L144

This maps to similar vector drawing instruction in PDF or printing, possibly creating a more accurate shape in output than on screen.

An alternative approach might be:

  • Take the outer circle, as the outline of a form.
  • Scale the outer circle down to the inner circle, as a hole in the form.
  • Draw the form.

dg0yt avatar Feb 23 '21 15:02 dg0yt