vb画连续线line(x,y)-(a,b)如何把第一条线的终点a和b数据变成第二条线起点x和y数
来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/12 15:00:25
vb画连续线line(x,y)-(a,b)如何把第一条线的终点a和b数据变成第二条线起点x和y数
line 起点不要设置就可以了
参考代码:
Dim mouseD As Boolean
Private Sub Form_Load()
Form1.AutoRedraw = True
End Sub
Private Sub Form_MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single)
Form1.Line (X,Y)-(X,Y)
mouseD = True
End Sub
Private Sub Form_MouseMove(Button As Integer,Shift As Integer,X As Single,Y As Single)
If mouseD Then
Form1.Line -(X,Y)
End If
End Sub
Private Sub Form_MouseUp(Button As Integer,Shift As Integer,X As Single,Y As Single)
mouseD = False
End Su
参考代码:
Dim mouseD As Boolean
Private Sub Form_Load()
Form1.AutoRedraw = True
End Sub
Private Sub Form_MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single)
Form1.Line (X,Y)-(X,Y)
mouseD = True
End Sub
Private Sub Form_MouseMove(Button As Integer,Shift As Integer,X As Single,Y As Single)
If mouseD Then
Form1.Line -(X,Y)
End If
End Sub
Private Sub Form_MouseUp(Button As Integer,Shift As Integer,X As Single,Y As Single)
mouseD = False
End Su
函数y=f(x+a)和y=f(-x+b)关于那条直线对称?
在平面直角坐标系中有两条直线,y=3/5x+9/5和y=-3/2x+6 它们的交点为M,第一条直线与x轴交于点A,第二条
excel中如何把A列数据,B列数据以(X,Y)的格式组合在C列下?
已知两条直线ax-2y-1=0,和6x+4y=b=0平行,则a、b需要满足的条件是
判断两条直线3X+3Y=3和2X+2Y=7 的位置关系 A、平行 B、垂直 C、相交 D、重合
把x=70、y=7.9和x=160、y=47.25两组数据代入y=a·b^x ,
向量a的终点是B(2,-1),它在x轴,y轴上的投影依次是-4和4,则a的起点坐标是_________
一道简单的向量题 向量的终点在点B(2,-1,7),它在X轴,Y轴和Z轴上的投影依次为4,-4和7.球向量的的起点A
一向量的起点在点A(2,-3,7),它在x轴,y轴和轴上的投影依次为-2,4和6,求该向量终点B的坐标
已知双曲线x^2/a^2-y^2/b^2=1(a>0,b>0)的两条渐近线均和
设函数f(x)在R上具有一阶连续导数,L是上半平面(y>0)内的有向分段光滑曲线,起点为(a,b),终点为(c,d).记
已知椭圆C的方程为x^2/a^2+y^2/b^2=1(a>b>0)和圆x^2+y^2=b^2,过椭圆上一点P引圆O的两条