LazMapViewer: Fix exchanged x/y in text measuring .

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9571 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz 2025-01-08 16:58:13 +00:00
parent 53fc9b1dc3
commit 6fc9d9e6ab

View File

@ -640,12 +640,12 @@ end;
function TMvCustomDrawingEngine.TextHeight(const AText: String): Integer;
begin
Result := TextExtent(AText).CX;
Result := TextExtent(AText).CY;
end;
function TMvCustomDrawingEngine.TextWidth(const AText: String): Integer;
begin
Result := TextExtent(AText).CY;
Result := TextExtent(AText).CX;
end;
end.