Thread: vector drawing?

  1. #1
    Registered User code2d's Avatar
    Join Date
    Nov 2006
    Location
    Canada
    Posts
    87

    Question vector drawing?

    I am looking for a vector drawing toolkit that has anti-aliasing so I can draw the lines other a 3d poly. I am dissatisfied with most of the stock drawing tools because they don't have anti-aliasing. I will combining the drawing library with openGL but it is not a game. Thanks for any help and suggestions.
    Compiler in use: MinGW

    OS: Windows ME

  2. #2
    Registered User pronecracker's Avatar
    Join Date
    Oct 2006
    Location
    netherlands
    Posts
    158
    Well you can draw lines in OpenGL.
    Code:
    glBegin(GL_LINES);
      glVertex2f(0.0f, 0.0f);
      glVertex2f(1.0f, 0.5f);
    glEnd();

  3. #3
    Registered User pronecracker's Avatar
    Join Date
    Oct 2006
    Location
    netherlands
    Posts
    158
    ..and OpenGL has optional anti-aliasing

  4. #4
    Registered User code2d's Avatar
    Join Date
    Nov 2006
    Location
    Canada
    Posts
    87
    ow I thought opengl lines did not have anti-aliasing. I was thinking of going into so much work for nothing.........well thanks very much.
    Compiler in use: MinGW

    OS: Windows ME

Popular pages Recent additions subscribe to a feed