mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 18:58:04 +02:00
Some clarification comments
git-svn-id: trunk@33317 -
This commit is contained in:
parent
e59e197d1e
commit
926a51a81f
@ -1093,7 +1093,10 @@ begin
|
||||
end;
|
||||
|
||||
{ Returns in MaxCount how many characters fit into a given MaxWidth
|
||||
It also returns the width of each character }
|
||||
It also returns the width of each character
|
||||
|
||||
MaxCount is given in the number of UTF-8 characters, not bytes
|
||||
}
|
||||
function TWidgetSet.GetTextExtentExPoint(DC: HDC; Str: PChar;
|
||||
Count, MaxWidth: Integer; MaxCount, PartialWidths: PInteger;
|
||||
var Size: TSize): Boolean;
|
||||
|
@ -2050,6 +2050,7 @@ begin
|
||||
Result := TColorRef(Windows.GetTextColor(DC));
|
||||
end;
|
||||
|
||||
// MaxCount is provided in the number of UTF-8 characters, not bytes
|
||||
function TWin32WidgetSet.GetTextExtentExPoint(DC: HDC; Str: PChar;
|
||||
Count, MaxWidth: Integer; MaxCount, PartialWidths: PInteger; var Size: TSize): Boolean;
|
||||
var
|
||||
|
Loading…
Reference in New Issue
Block a user