Repository navigation
Conversation
|
This should probably use https://developer.apple.com/documentation/appkit/nsview/1483648-convertrecttobacking?language=objc. Although the implementations are likely identical. |
|
Thanks for working on this and for pinging me @trishume but unfortunately I won't have a mac to test on for a while again. |
|
What needs to happen to move forward with this? I have a Mac to test on and am happy to contribute. I tested this with an OpenGL project I'm working on as well as all of the Glium examples in imgui-rs and this PR resolves the issue. |
|
It looks like this PR fixes an issue a lot of conrod+mac users are currently running into PistonDevelopers/conrod#1134. |
|
Could you please add an entry in the CHANGELOG as well? |
|
seems like this can be closed in favor of #435 |
Various Outline things Outline: - `merge` combine two outlines - `transformed` variant of `transform` that takes `self` - `mirror_and_close` to mirror a Contour on the line between its first and last point - `with_capacity' - `len` - `from_rect_rounded` Contour: - `from_rect_rounded`: SVG style rect with rounded corners - `push_svg_arc`: SVG arc
…ing#259 (rust-windowing#359) * docs: document wayland behavior for `Moved` event, closes rust-windowing#259 * document outerposition
In 4890229 the
get_inner_size_pixelsmethod was changed to assume that platform implementations return their sizes in physical pixels rather than points.The Linux implementation was updated to reflect this but the macOS implementation was not, leading to the
get_inner_size_pixelsreturning size in layout points and theget_inner_size_pointsmethod returning a size that doesn't correspond to anything.This PR updates the macOS implementation to follow the convention.
I didn't update the window min and max size APIs, they are still in points, which I think is correct since the user of the library can't even know if they have to adjust their sizes until the window is created and they can check the hidpi factor. That's a problem with going all physical pixels I guess, you actually can't reasonably do so everywhere.
cc @kryptan @mitchmindtree @tomaka