We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The following example (in Rust) draws an oval and a rectangle (as expected), but the oval has a dark outline:
#[no_mangle] fn update() { unsafe { *DRAW_COLORS = 2 } oval(40, 20, 80, 40); unsafe { *DRAW_COLORS = 2 } rect(40, 80, 80, 40); }
I would expect this code (and the equivalent DRAW_COLORS = 0x02) to draw a filled oval with no outline.
DRAW_COLORS = 0x02
This seems to be either a bug or the documentation could be more explicit, especially because the hello world example also uses DRAW_COLORS = 2.
DRAW_COLORS = 2
w4 --version is 2.2.0
w4 --version
Replacing 2 with 0x22 works as it draws the outline in the same color as the rest of the oval.
2
0x22
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The following example (in Rust) draws an oval and a rectangle (as expected), but the oval has a dark outline:
I would expect this code (and the equivalent
DRAW_COLORS = 0x02
) to draw a filled oval with no outline.This seems to be either a bug or the documentation could be more explicit, especially because the hello world example also uses
DRAW_COLORS = 2
.Version
w4 --version
is 2.2.0Workaround
Replacing
2
with0x22
works as it draws the outline in the same color as the rest of the oval.The text was updated successfully, but these errors were encountered: