Open mipastgt opened 1 year ago
Wow, that looks great! For the hatched area, what is the underlying sequence of Java2D API calls? Is it drawing with TexturePaint
or something else? I'm not sure how much work is involved, but a good first step would be to incorporate a sample sequence as test case with https://github.com/jfree/graphics2d-tester then figure out what is needed to map the required calls.
Just a short addition. I am currently seeing some other strange graphics issues when I use SkikoGraphics2D with Compose. The issue is discussed on the compose-desktop slack channel but it is still not clear where they originate from. It could be SkikoGraphics2D but it could also be Compose or Apache PDFBox. As long as it is not clear whether these issues can be resolved at all I have to suspend further investigations on the hatched area issue.
I am experimenting with SkikoGraphics2D at the moment together with Apache PDFBox to create a PDF viewer for JetBrains Compose Desktop. This works astonishingly well. See attached screen shots (Mac preview vs. Compose). I noticed however, that hatched areas don't seem to work at all. (See upper right corner and at the bottom.) Do you see any chance to implement that or is that just too much work?