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:
parent
53fc9b1dc3
commit
6fc9d9e6ab
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user