简单的问题(50分)

  • 主题发起人 dayangyang110
  • 开始时间
D

dayangyang110

Unregistered / Unconfirmed
GUEST, unregistred user!
请问Canvas.arc()的四个点具体是什么,请翻译
Use Arc to draw an elliptically curved line with the current Pen.
The arc traverses the perimeter of an ellipse that is bounded by the points
(X1,Y1) and (X2,Y2). The arc is drawn following the perimeter of the ellipse,
counterclockwise, from the starting point to the ending point. The starting point
is defined by the intersection of the ellipse and a line defined by the center of the
ellipse and (X3,Y3). The ending point is defined by the intersection of the ellipse
and a line defined by the center of the ellipse and (X4, Y4).
 
H

headman1

Unregistered / Unconfirmed
GUEST, unregistred user!
该椭圆内切于由(x1,y1)和(x2,y2)组成的矩阵中,然后在坐标平面上任意选择两点
(x3,y3)(x4,y4)与椭圆中心点所连成的两条直线(有方向的),这两条直线与椭圆
交于两点,然后与(x3,y3)连成直线的相交点顺时针画到另一个相交点(该段所画曲线
是该内切椭圆上的曲线)。
个人理解
 
H

headman1

Unregistered / Unconfirmed
GUEST, unregistred user!
抱歉,是逆时针方向
 
C

chuguozhen

Unregistered / Unconfirmed
GUEST, unregistred user!
Arc有8个参数,表示4个点,前2个点(x1,y1),(x2,y2)确定这段弧所在的椭圆的外接矩形的左上和右下点的坐标,后2个点(x3,y3),(x4,y4)是弧的起点和终点
 

小熊跳舞

Unregistered / Unconfirmed
GUEST, unregistred user!
H

huolong1065

Unregistered / Unconfirmed
GUEST, unregistred user!
看不懂??[:(][:(][:(]
 

城市猎人^-^

Unregistered / Unconfirmed
GUEST, unregistred user!
M

majorsoft

Unregistered / Unconfirmed
GUEST, unregistred user!
该椭圆内切于由(x1,y1)和(x2,y2)组成的矩阵中,然后在坐标平面上任意选择两点
(x3,y3)(x4,y4)与椭圆中心点所连成的两条直线(有方向的),这两条直线与椭圆
交于两点,然后与(x3,y3)连成直线的相交点顺时针画到另一个相交点(该段所画曲线
是该内切椭圆上的曲线)。
可改为,"。。。交于两点,分别成为始点和终点,弧就是从始点到终点逆时针方向的一段椭圆上的弧(注意这条弧是椭圆上的一部分,而不是内切于椭圆上的曲线)
不知道可不可以 "。
headman1 翻译的不错
 
顶部