-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Missing context.set_hairline()? #226
Comments
Yes. Interested in opening a PR? |
Ok, will do! The comments in the code have annotations as to which version of cairocffi newly added functions were released in, but this isn't targeted to a version. Just omit? Or... what version to put there? (FYI relevent to version target: will PR #81 if you like too since we need that functionality here and will implement regardless) |
Added Context.{get,set}_hairline(), according changes to ffi header, …
Closed by #227. |
It seems like the function
cairo_set_hairline(cairo_boot_t)
(added in 1.18) is missing from the wrapper in context.py.This function supports drawing wireframe or single pixel scale-independent lines, and is a very important feature to have when debugging graphics renders.
It should be relatively straightforward to add!
The text was updated successfully, but these errors were encountered: