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

Allow integers when setting DPI #49

Open
KronosTheLate opened this issue May 27, 2024 · 0 comments
Open

Allow integers when setting DPI #49

KronosTheLate opened this issue May 27, 2024 · 0 comments

Comments

@KronosTheLate
Copy link

I can not see any reason why the following two methods:

set_default_dpi(dpi::Float64)
handle_set_dpi(handle::RsvgHandle, dpi::Float64)

Should not accept integers. Perhaps it is better to type the arguments as Real, to accept both floats and integers of any type?

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

1 participant