Win: Uses the rendered image window coordinates.
窗口:使用渲染图片 窗口的坐标。
With the colors set, the text function emits your time string to the display window at the defined coordinates.
颜色设好后,text函数就会向将时间字符串发送到显示窗口已定义的坐标位置。
To our second example program just before the call to MainLoop, the program will print out the canvas coordinates to the console whenever we click the left mouse button over the canvas window.
放到我们第二个示例程序中的MainLoop调用之前,那么当我们在画布窗口中单击鼠标左键时,画布坐标将显示在屏幕上。
应用推荐