Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StatePainter's Graphics2D Context Doesn't Update #148

Open
viluon opened this issue Oct 18, 2017 · 0 comments
Open

StatePainter's Graphics2D Context Doesn't Update #148

viluon opened this issue Oct 18, 2017 · 0 comments

Comments

@viluon
Copy link

viluon commented Oct 18, 2017

I discovered that the Graphics2D context passed to a StatePainter is broken: updates don't appear correctly on-screen. The following is a comparison of the Visualizer view and the same context converted to SVG:
Step 1:
step01
Step 2:
step02
Step 3:
step03
Step 4:
step04

I haven't investigated exactly which classes are affected, nor did I try to come up with a (minimal) reproduction case, but I can provide source code upon request. I suspect it may have something to do with AffineTransform which I use to rotate the canvas, as the rotated elements (text) are being drawn correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant