早教吧作业答案频道 -->英语-->
pDC->Ellipse(CRect(npoint.x-i,npoint.y-i,npoint.x+i,npoint.y+i));pDC->Ellipse和CRect怎么用?
题目详情
pDC->Ellipse(CRect(npoint.x-i,npoint.y-i,npoint.x+i,npoint.y+i)); pDC->Ellipse 和 CRect 怎么用?
▼优质解答
答案和解析
左上角和右下角的坐标
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
看了 pDC->Ellipse(C...的网友还看了以下:
空调压缩机接线图中S,R,C.三个字母分别代表什么 2020-05-17 …
A.πA,D(σC=D(R×S))B.πA,R,D(σS,C=R,D/(R×S))C.πA,R,D( 2020-05-26 …
A.πA,D(σC=D(R×S))B.πA,R.D(σR.C=S.D(R×S))C.πA,R.D(σ 2020-05-26 …
A.πA,B,C (σB=B(R×S))B.πR.A,R.B,R.C (σR.B=S.B (R×S) 2020-05-26 …
(20)A.R.B = S.B AND R.C = S.C AND R.C < S.BB.R.B = 2020-05-26 …
下列式子中,不正确的是______。A.R-S=R-(R∩S)B.R=(R-S)∪(R∩S)C.R∩ 2020-05-26 …
A.πA,D(σC=D(R×S))B.πA,R.D(σS.C=R.D(R×S))C.πA,R.D(σ 2020-05-26 …
请问这个怎么判断是否有最大值或者最小值?S(r)=2πr²+2V/r(r>0)这个S(r)的最值怎 2020-06-15 …
数据库中σ这个符号是什么意思啊设有关系R(A,B,C)和关系S(B,C,D),那么与R⋈S等价的关 2020-07-10 …
关于数据库中关系运算的例题设有关系R和S,他们的元组数相同,如果有RnS那么与其等价的是:()住:n 2020-11-28 …