Supported Browsers Home   
MGL_drawStrXY_W Previous   
MGL_dstTransBlt Next   
External Functions Up   

MGL_drawStr_W

Draws a wide character string at the current position.

Declaration

void MGLAPI MGL_drawStr_W(
    const wchar_t *str)

Prototype In

mgraph.h

Parameters

str

Wide character string to display

 

Description

Draws a string at the current position (CP) in the current drawing color, write mode, font, text direction and justification. The CP is moved so that drawing will begin directly after the end of the string, only if the horizontal justification is set to MGL_LEFT_TEXT, otherwise the CP is not moved.

This function is the same as MGL_drawStr, but provides support for Unicode wide characters (for far-east languages).

Note:    Wide character fonts are only supported for bitmap and TrueType fonts. Vector fonts are not supported via this function.

See Also

MGL_drawStrXY, MGL_drawStrXY_W, MGL_drawStr, MGL_textHeight, MGL_textWidth, MGL_useFont

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com