CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: Polygons

  1. #1
    Join Date
    Feb 2003
    Posts
    20

    Polygons

    What is the code for drawing polygons? I cannot find the real code anywhere. My book doesn't have it.

  2. #2
    Join Date
    Nov 2002
    Location
    Tianjin P.R.China
    Posts
    3
    this site -> Graphics & Multimedia -> GDI -> General
    Java is not platform-independent, it is the platform.

  3. #3
    Join Date
    Feb 2003
    Posts
    20

    ummm...

    I meant in C#...

  4. #4
    Join Date
    Nov 2002
    Location
    Tianjin P.R.China
    Posts
    3
    oooooh

    sorry
    Java is not platform-independent, it is the platform.

  5. #5
    Join Date
    Feb 2003
    Posts
    20

    polygons...

    Where can I find the code for drawing (5 sided) polygons (C#)?

  6. #6
    Join Date
    Nov 2002
    Location
    Singapore
    Posts
    1,890
    the graphics object has drawpolygons and you have to supply either path or points with endpoints.. so it will make a polygon.

    this will be on paint ofcourse..

    Paresh

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

Featured