GetTabbedTextExtent function user32
Computes the width and height of a character string.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-gettabbedtextextentw.
Implementation
@pragma('vm:prefer-inline')
int GetTabbedTextExtent(
HDC hdc,
PCWSTR lpString,
int chCount,
int nTabPositions,
Pointer<Int32>? lpnTabStopPositions,
) => _GetTabbedTextExtent(
hdc,
lpString,
chCount,
nTabPositions,
lpnTabStopPositions ?? nullptr,
);