TWidgetSet.ExtUTF8Out function
Draws an UTF-8 string without formatting (single line).
Declaration
function ExtUTF8Out(DC: HDC; X: Integer; Y: Integer; Options: LongInt;
Rect: PRect; Str: PChar; Count: LongInt;
Dx: PInteger): Boolean; virtualArguments
DC | The Device Context. |
X | The reference point, used to position the text. |
Y | The reference point, used to position the text. |
Options | Output options. |
Rect | The bounding rectangle. |
Str | The text. |
Count | The number of Chars in the string. |
Dx | Pointer to an array of inter-character spacing values, can be Nil. |
Function result
False on failure.Description
The inter-character spacing array (Dx) must have one element for every Char (byte) in the UTF-8 text. For multi-byte character codes the values of all Dx elements are summed up.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
