mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 22:18:33 +02:00
aggpas: fixed GetTextHeight
git-svn-id: trunk@22876 -
This commit is contained in:
parent
0d6e68ae9b
commit
111f81ba6a
@ -1316,7 +1316,7 @@ end;
|
||||
|
||||
function TAggFPCanvas.DoGetTextHeight(str: string): integer;
|
||||
begin
|
||||
Result:=ceil(AggTextWidth(str));
|
||||
Result:=ceil(AggTextHeight(str));
|
||||
end;
|
||||
|
||||
procedure TAggFPCanvas.DoGetTextSize(str: string; var w, h: integer);
|
||||
|
Loading…
Reference in New Issue
Block a user