This function:
21 +geom::Displacement transform(geom::Rectangle const& rect, geom::Displacement const& vector, MirOrientation orientation)
appears complicated but I think it needs to be.
P.S. I lobbied for the wrapped int types to be pure ints a while back. That would eliminate all the "as_int()" calls. But I was out-voted.
Nice. Works for me. :)
This function: geom::Rectangle const& rect, geom::Displacement const& vector, MirOrientation orientation)
21 +geom::Displacement transform(
appears complicated but I think it needs to be.
P.S. I lobbied for the wrapped int types to be pure ints a while back. That would eliminate all the "as_int()" calls. But I was out-voted.