Is there an Anti-Aliased Line?

I’m using PgDrawILine() to draw lines on a graph. Sometimes those lines are
almost perfectly horizontal or vertical and you get that funny looking stair
case effect.

Is there a way to draw a straignt line (RAW) that is anti-aliased?

Bill Caroselli <qtps@earthlink.net> wrote:

BC > I’m using PgDrawILine() to draw lines on a graph. Sometimes those lines are
BC > almost perfectly horizontal or vertical and you get that funny looking stair
BC > case effect.

BC > Is there a way to draw a straignt line (RAW) that is anti-aliased?

Can this be done?

You can do this with OpenGL :slight_smile: if you still have qnx6.2 or the TDK in 6.3

That’s one of the reasons I like to use OpenGL even for 2d work. It
supposedly integrates with photon - though it doesn’t work with multi-head
displays.