8 #ifndef META_OCEAN_PLATFORM_WIN_SCREEN_H
9 #define META_OCEAN_PLATFORM_WIN_SCREEN_H
28 class OCEAN_PLATFORM_WIN_EXPORT
Screen
92 static bool screen(
const unsigned int positionX,
const unsigned int positionY,
unsigned int& left,
unsigned int& top,
unsigned int& width,
unsigned int& height);
103 static bool screen(
const HWND window,
unsigned int& left,
unsigned int& top,
unsigned int& width,
unsigned int& height);
112 static int dpi(
const HDC dc);
127 static inline int scalePixel(
const int pixel,
const HDC dc);
135 static inline int scalePixelByFactor(
const int pixel,
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