主页 / 库函数目录 / 文字输出 / xyprintf
功能:
在指定位置格式化输出文本(使用方式类似 printf)。
声明:
void xyprintf(
int x,
int y,
const char* format,
...
);
void xyprintf(
int x,
int y,
const wchar_t* format,
...
);
参数:
x
文本输出位置的 x 坐标(文本实际位置与文本对齐方式、文本倾斜角度等相关)。
y
文本输出位置的 y 坐标(文本实际位置与文本对齐方式、文本倾斜角度等相关)。
format
格式字符串。
...
要输出的文本内容参数(支持多个参数,类似 printf)。
返回值:
(无)
示例:
无