# V语言 - TODO [本站首页](/old/vref/) [中文文档](/old/vref/docs.html) [手册目录](/old/vref/menu/v.html) ## new_context() TODO ### 语法 ``` pub fn new_context(cfg gg.Cfg) *Context { ``` 参数|描述 ---|--- cfg|TODO **返回值** TODO **注意** TODO ### 示例 ``` TODO ``` 以上代码将输出 ``` TODO ``` ## draw_text() TODO ### 语法 ``` pub fn (ctx mut Context) draw_text(_x, _y int, text string, cfg gx.TextCfg) { ``` 参数|描述 ---|--- |TODO _x|TODO _y|TODO text|TODO cfg|TODO **注意** TODO ### 示例 ``` TODO ``` 以上代码将输出 ``` TODO ``` ## draw_text_def() TODO ### 语法 ``` pub fn (ctx mut Context) draw_text_def(x, y int, text string) { ``` 参数|描述 ---|--- |TODO x|TODO y|TODO text|TODO **注意** TODO ### 示例 ``` TODO ``` 以上代码将输出 ``` TODO ```