cocoa: updates in drawing a single length lines to half of a pixel (for non retina displays) #34681

git-svn-id: trunk@60124 -
This commit is contained in:
dmitry 2019-01-20 21:27:17 +00:00
parent ba83c710cd
commit bd8706d429

View File

@ -1764,8 +1764,8 @@ begin
if (absDeltaX<=1) and (absDeltaY<=1) then
begin
// special case for 1-pixel lines
tx := bx + 0.05 * deltaX;
ty := by + 0.05 * deltay;
tx := bx + 0.5 * deltaX;
ty := by + 0.5 * deltay;
end
else
begin