28 #ifndef _CEGUICoordConverter_h_
29 #define _CEGUICoordConverter_h_
31 #include "CEGUIUDim.h"
60 static float windowToScreenX(
const Window& window,
const UDim& x);
77 static float windowToScreenX(
const Window& window,
const float x);
94 static float windowToScreenY(
const Window& window,
const UDim& y);
111 static float windowToScreenY(
const Window& window,
const float y);
174 static Rect windowToScreen(
const Window& window,
const Rect& rect);
191 static float screenToWindowX(
const Window& window,
const UDim& x);
208 static float screenToWindowX(
const Window& window,
const float x);
225 static float screenToWindowY(
const Window& window,
const UDim& y);
242 static float screenToWindowY(
const Window& window,
const float y);
308 static Rect screenToWindow(
const Window& window,
const Rect& rect);
322 static float getBaseXValue(
const Window& window);
335 static float getBaseYValue(
const Window& window);
354 #endif // end of guard _CEGUICoordConverter_h_
Class used as a two dimensional vector (aka a Point)
Definition: CEGUIVector.h:45
Area rectangle class built using unified dimensions (UDims).
Definition: CEGUIUDim.h:245
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: CEGUIWindow.h:138
Utility class that helps in converting various types of co-ordinate between absolute screen positions...
Definition: CEGUICoordConverter.h:42
Class representing a unified dimension; that is a dimension that has both a relative 'scale' portion ...
Definition: CEGUIUDim.h:47
Class encapsulating operations on a Rectangle.
Definition: CEGUIRect.h:44
Two dimensional vector class built using unified dimensions (UDims). The UVector2 class is used for r...
Definition: CEGUIUDim.h:128