标题:求助热心高人:GDI画线问题
只看楼主
小歪册老
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2012-9-1
 问题点数:0 回复次数:0 
求助热心高人:GDI画线问题
Const num% = 299
k = num /3
        For λbc = PI / 2 To αStep   PI / (2*k)
            p(i) =  Sin(λbc)
            p(i + 1) = rd * Cos(λbc)/ Cos(βj)
            p(i + 2) = 0
              i = i + 3
        Next λbc
Dim cenp(100) As PointF
        Dim q As Double
        q = 0
        For i = 0 To 297 Step 3
            cenp(q).X = p(i)
          cenp(q).Y = p(i + 1)
           q = q + 1
        Next
       objgraphics.DrawLines(mypen, cenp)
程序是这样的, 想实现的就是通过前面的点画线,但是始终无法定义前面的点,无法实现功能,求高人看看  指点迷津
2012-09-01 21:38



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-380508-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.301825 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved