由于工作区坐标是相对于控件工作区的左上角而言的,所以该属性所返回的矩形的左上角坐标是(0,0)。
Because client coordinates are relative to the upper-left corner of the client area of the control, the coordinates of the upper-left corner of the rectangle returned by this property are (0, 0).
转换是直接修改坐标系统,这样左上角会发生偏移。
Translation simply changes the coordinate system so that the upper-left corner exists at a new offset.
坐标(s, t)定义为(0,0)的地方就是纹理的左上角,而(1,1)位于右下角。
Coordinates (s, t) are defined so (0, 0) is the texture's upper left corner and (1, 1) is its lower right corner.
应用推荐