I'm creating a fairly complex Path object to render a detailed spectral shape (it's like a waveform or an electromagnetic spectrum). I need to be able to see as much detail as possible in this shape, and to that end I'd like to remove that "blurriness" that happens whenever a line segment in the path crosses pixel borders (i.e. the anti-aliasing.)
In other words, I'd like each pixel of the line to be rendered into exactly one pixel on the screen.
Things that don't work:
casting every endpoint in the Path to an int. (The path still interpolates non-integer values between endpoints.)
setting Path.setSmooth(boolean) to false. I don't know why this doesn't work, it seems like just what I want.
Does anyone have any other suggestions?