Carbon: Simplified 1 pixel drawn code. Same as r56926 #32000402a9 for Cocoa. Issue #32926.

git-svn-id: trunk@56952 -
This commit is contained in:
juha 2018-01-04 13:41:16 +00:00
parent a398131a54
commit f113cfc740

View File

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