DrawTextEx function user32
int
DrawTextEx(
- HDC hdc,
- PWSTR lpchText,
- int cchText,
- Pointer<
RECT> lprc, - DRAW_TEXT_FORMAT format,
- Pointer<
DRAWTEXTPARAMS> ? lpdtp,
Draws formatted text in the specified rectangle.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-drawtextexw.
Implementation
@pragma('vm:prefer-inline')
int DrawTextEx(
HDC hdc,
PWSTR lpchText,
int cchText,
Pointer<RECT> lprc,
DRAW_TEXT_FORMAT format,
Pointer<DRAWTEXTPARAMS>? lpdtp,
) => _DrawTextEx(hdc, lpchText, cchText, lprc, format, lpdtp ?? nullptr);