| Home
| Previous
| Next
| Up

MGL_drawStr

Draws a text string at the current position.

Declaration

void MGLAPI MGL_drawStr(
const char *str)

Prototype In

mgraph.h

Parameters

str | 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.

See Also

MGL_drawStrXY, MGL_drawStrXY_W, MGL_drawStr_W, MGL_textHeight, MGL_textWidth, MGL_useFont

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