NAME

GetCharacterPlacementW  (GDI32.@)

SYNOPSIS

 DWORD GetCharacterPlacementW
 (
  HDC           hdc,
  const WCHAR*  str,
  INT           count,
  INT           max_extent,
  GCP_RESULTSW* result,
  DWORD         flags
 )

DESCRIPTION

Retrieve information about a string. This includes the width, reordering, Glyphing and so on.

RETURNS

The width and height of the string if successful, 0 if failed.

BUGS

All flags except GCP_REORDER are not yet implemented. Reordering is not 100% compliant to the Windows® BiDi method. Caret positioning is not yet implemented for BiDi. Classes are not yet implemented.

IMPLEMENTATION

Declared in "include/wingdi.h". gitlab.winehq.org/wine/wine/blob/master/include/wingdi.h

Implemented in "dlls/gdi32/text.c". gitlab.winehq.org/wine/wine/blob/master/dlls/gdi32/text.c

Debug channel "bidi".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.