目次に戻る
一覧ページに戻る
CPGraphics::DrawText
2001/12/21 update.
文字列を描画します。

書式

  void DrawText(int x,int y,char *lpStr);

パラメータ


x
描画する水平方向の座標です。
y
描画する垂直方向の座標です。
lpStr
描画する文字列です。

解説


SetForegroundColor」で指定された色で、指定の文字列を描画します。
描画開始位置の(x,y)は、文字列の左上を示します。


関連リンク


CPGraphicsクラス
CPGraphics::SetForegroundColor
CPGraphics::DrawBoxText