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

Hatched areas are not implemented #4

Open
mipastgt opened this issue Sep 22, 2023 · 2 comments
Open

Hatched areas are not implemented #4

mipastgt opened this issue Sep 22, 2023 · 2 comments

Comments

@mipastgt
Copy link

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?
compose-pdf-demo-app
mac-preview-app

@jfree
Copy link
Owner

jfree commented Sep 22, 2023

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.

@mipastgt
Copy link
Author

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.

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

2 participants