< prev index next >

src/java.desktop/windows/native/libawt/windows/awt_Win32GraphicsDevice.h

Print this page

        

*** 64,73 **** --- 64,81 ---- jobject GetJavaDevice() { return javaDevice; } int GetDeviceIndex() { return screen; } void Release(); void DisableOffscreenAcceleration(); void Invalidate(JNIEnv *env); + void InitDesktopScales(); + void SetScale(float scaleX, float scaleY); + float GetScaleX(); + float GetScaleY(); + int ScaleUpX(int x); + int ScaleUpY(int y); + int ScaleDownX(int x); + int ScaleDownY(int y); static int DeviceIndexForWindow(HWND hWnd); static jobject GetColorModel(JNIEnv *env, jboolean dynamic, int deviceIndex); static HPALETTE SelectPalette(HDC hDC, int deviceIndex);
*** 105,114 **** --- 113,124 ---- int screen; HMONITOR monitor; LPMONITORINFO pMonitorInfo; jobject javaDevice; Devices *devicesArray; + float scaleX; + float scaleY; static HDC MakeDCFromMonitor(HMONITOR); }; #endif AWT_WIN32GRAPHICSDEVICE_H
< prev index next >