Antialiasing of paths

Problems with Canvas, OpenGL, etc...

Antialiasing of paths

Postby georgwiese » Mon Apr 18, 2011 9:04 pm

I've got a path that consists if a pair of x and y values for each pixel on the x-axis.
I draw it with canvas.drawPath(path, paint), after I called paint.setAntiAlias(true), but still, the curves don't look smooth. I notices that if that path only contains values for every fifth pixel on the screen, it looks a lot better.

Does anyone know the reason for this and knows how to fix it?
Thanks in advance ;)
Experienced Developer
Experienced Developer
Posts: 70
Joined: Mon May 03, 2010 7:14 pm


Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 5 guests