I am drawing lines in OpenGL on an app that will zoom way in and out
on the surface. I would like the lines to always be visible.

Currently, when the line widths are small, at certain angles, the
lines don't render. Specifically, I have a case where diagonal lines
show but a horizontal one does not. The line width is way less than a
pixel, but there is nothing else in the area of the pixels that are
not being colored.

Is there a way to force sub-pixel elements to cause the enclosing
pixel (otherwise empty - nothing drawn there) to render the color of
the sub-pixel element?

What is the rendering algorithm that causes the sub-pixel line to
render when at an angle but not when horizontal (and hence, at the
same position in every pixel)? Can I change it?

Is there any way to do this other than changing the line width based
on the scaling I am doing to the underlying model as I display it on
the surface?

Tks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to