Results 1 to 3 of 3

Thread: DARN ARC 's

  1. #1

    Thread Starter
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    DARN ARC 's

    VB Code:
    1. Dim rect1 As New Rectangle(0, 0, 100, 100)
    2.         Dim rect2 As New Rectangle(10, 10, 100, 100)
    3.         c.AddLine(50, 50, 0, 50)
    4.         c.AddArc(rect1, 180, 90)
    5.         c.AddLine(0, 50, 10, 50)
    6.         c.AddArc(rect2, 190, 70)
    7.         c.AddLine(50, 0, 50, 50)

    Is there a way to stop Arc's from connecting to the previous line's endpoint? That is really annoying.... otherwise, the function would work great....

  2. #2
    Fanatic Member
    Join Date
    Sep 2002
    Posts
    518
    AddArc is supposed to append. Why not try DrawArc instead.

  3. #3

    Thread Starter
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Can't use DrawArc because its drawing to a GraphicsPath...

    anyway, I got around it by subsituting addArc with AddPie ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width