我想知道如何在 OCaml 中设置文本大小。
我试过Graphics.set_text_size
我想这应该可以达成交易。
但无论我把set_text_size 200
or set_text_size 20
并没有改变什么……
Graphics.set_text_size
尚未实施。
https://github.com/ocaml/graphics/blob/5.1.2/src/graphics.ml#L200 https://github.com/ocaml/graphics/blob/5.1.2/src/graphics.ml#L200
https://github.com/ocaml/graphics/blob/5.1.2/src/unix/text.c#L38 https://github.com/ocaml/graphics/blob/5.1.2/src/unix/text.c#L38
https://github.com/ocaml/graphics/blob/5.1.2/src/win32/draw.c#L343 https://github.com/ocaml/graphics/blob/5.1.2/src/win32/draw.c#L343
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)