Window::convertRectFromScreen(Rect) : Rect
Converts the rectangle from the screen coordinate system to the window’s coordinate system
Window::convertRectToScreen(Rect) : Rect
Converts the rectangle to the screen coordinate system from the window’s coordinate system.
Widget::convertRectToWidget(Rect, Widget targetWidget) : Rect
Converts a rectangle from the receiver’s coordinate system to that of another widget.
Widget::convertRectFromWidget(Rect, Widget) : Rect
Converts a rectangle from the coordinate system of another widget to that of the receiver.
Maybe this could help youSo... RenderTarget::convertPointToWorld? That could work.
Ogre uses the rather long but discribtive name Ogre::Node::convertLocalToWorldPositionHere it's not from local to global, it's from global to render-target.
Yup, looks fine to me.QuoteMaybe this could help youSo... RenderTarget::convertPointToWorld? That could work.
Maybe pixelsToUnits and unitsToPixels?
So... it could be:Yaaaaaaaaaay... ;D
convertCoordsToPixel
convertPixelToCoords
"Coords" is a little vague, maybe we could use "Unit" instead.