<table><tr><td style="">TallFurryMan accepted this revision.<br />TallFurryMan added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D28767">View Revision</a></tr></table><br /><div><div><p>I will certainly not block a differential on an issue with source centers which we do not use afterwards :) Sorry for forgetting the "Accept Revision" flag.</p>

<p>My point was really simply that the code was previously drawing canvas ellipses with drawEllipses() using the top-left and width/height values, while the new one is using the center point and radius values.<br />
When you use the center with the second prototype, you risk offsetting your ellipse/circle by one (eventually scaled) pixel, while using an enclosing rect is a better approach in my opinion when the picture has a low resolution or is scaled.</p>

<p>I also observe offsets in your images, I wonder if it might only be the width of the pen that is used by the renderer. Using a width of 1 instead of 2 might resolve the issue.<br />
Your solution adding 0.5 to the center position seems improper to me: there's no reason we should do that.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>sep-focus-improvements (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28767">https://phabricator.kde.org/D28767</a></div></div><br /><div><strong>To: </strong>murveit, mutlaqja, lancaster, TallFurryMan<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>