1.1.1 矩形函数(Rectangle Function) • 定义:宽度为a( a>0),中心在x 0 的一维矩形函数为 用x代表时间变量时,用该函数描 述照相机的快门,这时a表示曝光 时间; 用...
基于149个网页-相关网页
The rect function draws a rectangle, with the first two points defining the location and the next two defining width and height, respectively.
rect函数可绘制一个矩形,并且前两个点定义位置,而后面两个点则分别定义宽度和高度。
Notice how in this function a rectangle of chunkSize by chunkSize pixels is copied from the appropriate frame to the drawable surface.
注意:在此函数中,长为 chunkSize、宽为 chunkSize 的像素矩形是如何从恰当的帧复制到绘图表面的。
Then define a function which computes the area for the rectangle object.
然后定义一个函数来计算Rectangle的面积。
应用推荐