Skip to content Skip to sidebar Skip to footer

Android Android.graphics.path Width Limited To 2036?

I am trying to draw a very long line with a Path. The line is correctly displayed up until to a x target value of 2036. when i call path.lineTo(2037, y) the entire path is is not d

Solution 1:

There is a limitation with hardware acceleration: a Path can only be about 2048 pixels wide or high on most GPUs.

Line anti-aliasing should work as of Android 3.2 with hardware acceleration.

Solution 2:

Imho these limits would be described in these hundreds of lines that describe the difference of one version of Android from the other one.

Post a Comment for "Android Android.graphics.path Width Limited To 2036?"