piccolo2d / piccolo2d.java

Structured 2D Graphics Framework
http://piccolo2d.org
Other
51 stars 14 forks source link

PFixedWidthStroke wrong #270

Closed fjutlj closed 7 years ago

fjutlj commented 8 years ago

When I use PFixedWidthStroke to fix the line width,then zoom in the line. The line width will change if the mouse click on the canvas, sometime thick ,sometime thin.

heuermh commented 7 years ago

Note that rendering may be different when interacting with the canvas, unless all render quality settings are the same, e.g.

canvas.setDefaultRenderQuality(PPaintContext.HIGH_QUALITY_RENDERING);
canvas.setAnimatingRenderQuality(PPaintContext.HIGH_QUALITY_RENDERING);
canvas.setInteractingRenderQuality(PPaintContext.HIGH_QUALITY_RENDERING);

The defaults are here https://github.com/piccolo2d/piccolo2d.java/blob/master/core/src/main/java/org/piccolo2d/PCanvas.java#L149

heuermh commented 7 years ago

Closing as not an issue.