8 #ifndef META_OCEAN_PLATFORM_WXWIDGETS_SCREEN_H
9 #define META_OCEAN_PLATFORM_WXWIDGETS_SCREEN_H
29 class OCEAN_PLATFORM_WXWIDGETS_EXPORT
Screen
118 static inline int scalePixel(
const int pixel,
const wxWindow* window);
127 static inline wxSize scaleSize(
const wxSize& size,
const wxWindow* window);
136 static inline wxPoint scalePoint(
const wxPoint& point,
const wxWindow* window);
145 static inline int scalePixelByFactor(
const int pixel,
const double scaleFactor);
154 static inline wxSize scaleSizeByFactor(
const wxSize& size,
const double scaleFactor);
163 static inline wxPoint scalePointByFactor(
const wxPoint& point,
const double scaleFactor);
This class implements a 2D bounding box with pixel precision.
Definition: PixelBoundingBox.h:57
This class implements a 2D pixel position with pixel precision.
Definition: PixelPosition.h:65
This class provides basic numeric functionalities.
Definition: Numeric.h:57
static constexpr int32_t round32(const T value)
Returns the rounded 32 bit integer value of a given value.
Definition: Numeric.h:2064
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15