For this example, only the first coordinate pair from the dots file is used to build the various drawing commands.
对于本示例,只有dots文件中的第一组坐标对将用于构建各种绘制命令。
Thus the coordinate pair (100, 75) indicates a position on the screen that is 100 pixels inward from the left edge of the window and 75 pixels down from the top.
所以坐标(100,75)指出在屏幕上的位置就是屏幕左边缘往里100个像素,从上往下75个像素的地方。
Draws a rectangle specified by a coordinate pair, a width, and a height.
绘制由座标对、宽度和高度所指定的矩形。
Draws the specified image using its original physical size at the location specified by a coordinate pair.
在由坐标对指定的位置,使用图像的原始物理大小绘制指定的图像。
Draws the specified image using its original physical size at the location specified by a coordinate pair.
在由坐标对指定的位置,使用图像的原始物理大小绘制指定的图像。
应用推荐