mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-25 01:39:19 +02:00
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:
parent
ba83c710cd
commit
bd8706d429
@ -1764,8 +1764,8 @@ begin
|
|||||||
if (absDeltaX<=1) and (absDeltaY<=1) then
|
if (absDeltaX<=1) and (absDeltaY<=1) then
|
||||||
begin
|
begin
|
||||||
// special case for 1-pixel lines
|
// special case for 1-pixel lines
|
||||||
tx := bx + 0.05 * deltaX;
|
tx := bx + 0.5 * deltaX;
|
||||||
ty := by + 0.05 * deltay;
|
ty := by + 0.5 * deltay;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user