1. 这是函数的reference的一部分。 怎样的函数? 能说明吗?
createImage
public static Image createImage(int width, int height)
Creates a new, mutable image for off-screen drawing. Every pixel within the newly created image is white.
The width and height of the image must both be greater than zero.
Parameters:
width - the width of the new image, in pixels
height - the height of the new image, in pixels
Returns:
the created image
说明:
2. 这是函数的reference的一部分。 怎样的函数? 能说明吗?
Graphics::DrawLine Method
The DrawLine method draws a line that connects two points.
Syntax
Status DrawLine(
const Pen *pen,
const Point &pt1,
const Point &pt2
);
Parameters
pen
[in] Pointer to a pen that is used to draw the line.
pt1
[in] Reference to a Point object that specifies the start of the line.
pt2
[in] Reference to a Point object that specifies the end of the line.
说明
3. 求二个圆周的长度的差。 二个圆是同样的中心点
计算式
解答.
4. 所有边都为1cm的正三角锥的体积。
计算式
解答.
5. 请制作函数。 Please make your programming code.
从1在到100的数值中,请记述质数的程序。
Program Code :
说明
6. 请制作函数。 Please make your programming code.
数值型的参数n >>> 变换 >>> 十六进制数字符串
Program Code :
说明
[此贴子已经被作者于2007-7-25 17:40:51编辑过]