.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH GetCharacterPlacementW 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBGetCharacterPlacementW\fR (GDI32.@) .SH SYNOPSIS DWORD GetCharacterPlacementW ( HDC \fIhdc\fR, LPCWSTR \fIlpString\fR, INT \fIuCount\fR, INT \fInMaxExtent\fR, GCP_RESULTSW* \fIlpResults\fR, DWORD \fIdwFlags\fR ) .SH PARAMS \fIhdc\fR \fB[In]\fR Device context for which the rendering is to be done. .PP \fIlpString\fR \fB[In]\fR The string for which information is to be returned. .PP \fIuCount\fR \fB[In]\fR Number of \fBWORDS\fR in string. .PP \fInMaxExtent\fR \fB[In]\fR Maximum extent the string is to take (in \fBHDC\fR logical units). .PP \fIlpResults\fR \fB[In/Out]\fR A pointer to a \fBGCP_RESULTSW\fR struct. .PP \fB[In]\fR Flags specifying how to process the string. .PP .SH DESCRIPTION .PP Retrieve information about a string. This includes the width, reordering, Glyphing and so on. .SH RETURNS .PP The width and height of the string if successful, \fB0\fR if failed. .SH BUGS .PP All flags except \fBGCP_REORDER\fR are not yet implemented. Reordering is not 100% compliant to the Windows(tm) BiDi method. Caret positioning is not yet implemented for BiDi. Classes are not yet implemented. .SH IMPLEMENTATION .PP Declared in \fB"wingdi.h"\fR. .PP Implemented in \fB"dlls/gdi32/font.c"\fR. .PP Debug channel \fB"font"\fR.