Comment #2 on issue 221 by Cannot draw veritical and horizontal lines of 0 width stroke using PPath

In the Developer's FAQ
section "Why is my app so slow?", it states as follows:

"...., If you need to render the strokes, you could try setting the stroke width to zero, which has the effect of always drawing a one-pixel wide stroke. ...."

And it brings very significant performance improvement using BasicStroke(0).

The bug occurs when either x1 == x2, or y1 == y2 in the case of
PPath.createLine(x1, y1, x2, y2);

Piccolo2D Developers Group:

Reply via email to