I have a question concerning OpenGL. I would like to draw a polygon with a
specific color and a line around it. Is there a command to do this? If I use
glBegin(POLYGON), only the face is painted...
You could use glBegin(GL_LINE_LOOP) in place of glPolygonMode(..., GL_LINE)
If you use a z-buffer, there will be dropouts because the polygon and the
outline have similar depth values. In this case, enable polygon offset
somewhere in the rendering setup code:
1) Does any body knows how a I can draw a non Solid line e.g dotted line,
dashed line etc on a canvas.
But the line width should be greater than 1.
2) Or is there nay Delphi or C++ Builder libraries/components that I can
Thanks In advance
Wong Yeow Mun