早教吧作业答案频道 -->英语-->
用mfc画圆时 pDC->Ellipse(0,25,37,46) 里面的参数各代表什么意思啊
题目详情
用mfc画圆时 pDC->Ellipse(0,25,37,46) 里面的参数各代表什么意思啊
▼优质解答
答案和解析
左上角和右下角的坐标
CDC::Ellipse
BOOL Ellipse( int x1,int y1,int x2,int y2 );
BOOL Ellipse( LPCRECT lpRect );
Return Value
Nonzero if the function is successful; otherwise 0.
Parameters
x1
Specifies the logical x-coordinate of the upper-left corner of the ellipse’s bounding rectangle.
y1
Specifies the logical y-coordinate of the upper-left corner of the ellipse’s bounding rectangle.
x2
Specifies the logical x-coordinate of the lower-right corner of the ellipse’s bounding rectangle.
y2
Specifies the logical y-coordinate of the lower-right corner of the ellipse’s bounding rectangle.
lpRect
Specifies the ellipse’s bounding rectangle.You can also pass a CRect object for this parameter
CDC::Ellipse
BOOL Ellipse( int x1,int y1,int x2,int y2 );
BOOL Ellipse( LPCRECT lpRect );
Return Value
Nonzero if the function is successful; otherwise 0.
Parameters
x1
Specifies the logical x-coordinate of the upper-left corner of the ellipse’s bounding rectangle.
y1
Specifies the logical y-coordinate of the upper-left corner of the ellipse’s bounding rectangle.
x2
Specifies the logical x-coordinate of the lower-right corner of the ellipse’s bounding rectangle.
y2
Specifies the logical y-coordinate of the lower-right corner of the ellipse’s bounding rectangle.
lpRect
Specifies the ellipse’s bounding rectangle.You can also pass a CRect object for this parameter
看了 用mfc画圆时 pDC->E...的网友还看了以下:
数列{an}的前项n的和为Sn,存在常数A、B、C,使得an+Sn=An^2+Bn+C对任意正整数 2020-05-16 …
数列an的前n项和为sn,存在常数A,B,C使得an+sn=An^2+Bn+C对任意正整数n都成立 2020-05-16 …
空间一点到直线的距离公式空间任意一点A(a,b,c)到直线(x-x.)/m=(y-y.)/n=(z 2020-05-16 …
监事会决议经全体监事( )方为有效。A.2/3同意B.过半数同意C.半数以上同意D.3/4以上同意 2020-05-19 …
(2012•江干区一模)定义[a,b,c]为函数y=ax2+bx+c的特征数,下面给出特征数为[2 2020-06-14 …
Mr.Stock,whoisinMexicoon,runssmallbusiness.A.busi 2020-07-17 …
阅读下列材料,解决后面两个问题:我们可以将任意三位数.abc(其中a、b、c分别表示百位上的数字, 2020-07-29 …
某班班会对新出台的三项规章制度A、B、C进行全班表决同意与否.同意A的占920,同意B的仅差一票不足 2020-11-10 …
任意一个多面体,它的面数记为a,顶点数记为b,棱的条数记为c,则a,b,c三者之间的关系式为. 2020-11-18 …
某班班会对新出台的三项规章制度A、B、C进行全班表决同意与否.同意A的占920,同意B的仅差一票不足 2020-12-01 …