Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Way to know if AntiAliasing is enabled

$
0
0

@jagracar wrote:

I'm developing an addon to draw plots (ofxGrafica) and I realized that horizontal and vertical lines do not look very nice when the AntiAliasing is enabled.

I would like to disable it temporally when I draw the axes and enable it back to the previous status. The problem is that ofPushStyle and ofPopStyle do not keep the antiAliasing status.

I would like to have a way to know which is the current antiAliasing to restore it later to that value. Is there a way to do it? Something like ofAntiAliasingIsEnabled() would be nice, or even better, to add the AntiAliasing property to ofPushStyle.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles