Add LogicalPoint, PhysicalPoint and Point#3529
Conversation
|
Looking at #2395 I don't really follow what the motivation here is exactly. |
|
#2395 is not implemented in Once this new |
|
My question is specifically how does |
|
Because the existing types require setting both width/height, and so you can't say I want to constraint only width or only height. |
|
Ah, I see, thank you! |
kchibisov
left a comment
There was a problem hiding this comment.
Should probably update the docs in ### Position and Size types with the point stuff.
|
Besides. @amrbashir given that you had an interest in such crate in the first place, how you deal with e.g. rounding? For example in winit we have special rounding rules on Wayland, because it's rounding is a bit special, but maybe we should define such things in this crate as well, so the |
|
We didn't give it much thought, since our windows and macOS backend were forked from |
|
I just realized that the naming |
Maybe |
b637001 to
bdeeaa2
Compare
|
Thanks |
part of #2395
CHANGELOG.mdif knowledge of this change could be valuable to users