-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix drawPolyline. Issue #148 #149
base: master
Are you sure you want to change the base?
Conversation
Do you have a snippet to quickly test-drive it before and later? What about the different join- and cap-styles? |
I will create a test for this |
I still want to implement some kind of example to better test this drawing operation. But you can also use Snippet 252 with some minor changes to see the issue
|
I converted this to draft because this is more buggy then i thought. The methods drawPolygon and fillPolygon are also not correct. What the skija implementation does is it takes pairs of 3 points and draws triangles. Meaning if skija gets 6 points it will just draw 2 triangles. |
26ef582
to
d7d4c42
Compare
Reimplemented skijas drawPolyline, drawPolygon, and fillPolygon. The fillPolygon function still behaves different in some cases but it is a lot closer to what the previous implementation did. 2 other changes
|
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/ToolItem.java
Show resolved
Hide resolved
d7d4c42
to
067380a
Compare
Is this also the case for the native GC implementation?
Yes, i detected it while working on the expanse/collapse symbols. But it is not a blocker. I just encountered it while on it. |
No, with native GC this is as expected. It looks like |
Fix for Issue #148