Home
last modified time | relevance | path

Searched refs:dpi_x (Results 1 – 4 of 4) sorted by relevance

/reactos/modules/rostests/winetests/windowscodecs/
H A Dtiffformat.c594 double dpi_x, dpi_y; in test_tiff_8bpp_alpha() local
621 hr = IWICBitmapFrameDecode_GetResolution(frame, &dpi_x, &dpi_y); in test_tiff_8bpp_alpha()
623 ok(dpi_x == 96.0, "expected 96.0, got %f\n", dpi_x); in test_tiff_8bpp_alpha()
734 double dpi_x, dpi_y; in test_tiff_resolution() local
756 …ok(fabs(dpi_x - test_data->expected_dpi_x) < 0.01 || broken(fabs(dpi_x - test_data->broken_dpi_x) … in test_tiff_resolution()
761 ok(fabs(dpi_x - test_data->expected_dpi_x) < 0.01, in test_tiff_resolution()
787 double dpi_x, dpi_y; in test_tiff_24bpp() local
810 hr = IWICBitmapFrameDecode_GetResolution(frame, &dpi_x, &dpi_y); in test_tiff_24bpp()
812 ok(dpi_x == 300.0, "got %f\n", dpi_x); in test_tiff_24bpp()
1229 double dpi_x, dpi_y; in test_tiff_4bps_bgra() local
[all …]
/reactos/modules/rostests/winetests/gdi32/
H A Dmapping.c82 INT ret, size_cx, size_cy, res_x, res_y, dpi_x, dpi_y; in test_world_transform() local
101 dpi_x = GetDeviceCaps(hdc, LOGPIXELSX); in test_world_transform()
104 size_cx, size_cy, res_x, res_y, dpi_x, dpi_y ); in test_world_transform()
118 rough_match( size.cx, MulDiv( res_x, 254, dpi_x )), /* Vista uses a more precise method */ in test_world_transform()
119 "expected cx %d or %d, got %d\n", size_cx * 10, MulDiv( res_x, 254, dpi_x ), size.cx ); in test_world_transform()
182 rough_match( size.cx, MulDiv( res_x, 254, dpi_x )), /* Vista uses a more precise method */ in test_world_transform()
183 "expected cx %d or %d, got %d\n", size_cx * 10, MulDiv( res_x, 254, dpi_x ), size.cx ); in test_world_transform()
242 INT ret, size_cx, size_cy, res_x, res_y, dpi_x, dpi_y; in test_dc_layout() local
264 dpi_x = GetDeviceCaps(hdc, LOGPIXELSX); in test_dc_layout()
362 rough_match( size.cx, MulDiv( res_x, 254, dpi_x )), /* Vista uses a more precise method */ in test_dc_layout()
[all …]
/reactos/dll/win32/ieframe/
H A Doleobject.c1201 DWORD dpi_x; in WebBrowser_OleObject_Init() local
1207 dpi_x = GetDeviceCaps(hdc, LOGPIXELSX); in WebBrowser_OleObject_Init()
1218 This->extent.cx = MulDiv( 50, 2540, dpi_x ); in WebBrowser_OleObject_Init()
/reactos/dll/win32/comdlg32/
H A Ditemdlg.c141 UINT cctrl_indent, dpi_x, dpi_y; member
952 size = MulDiv(160, This->dpi_x, USER_DEFAULT_SCREEN_DPI); in customctrl_resize()
995 size = MulDiv(160, This->dpi_x, USER_DEFAULT_SCREEN_DPI); in customctrl_resize()
1211 …UINT cspacing = MulDiv(90, This->dpi_x, USER_DEFAULT_SCREEN_DPI); /* Columns are spaced with 90… in ctrl_container_resize()
1526 This->dpi_x = GetDeviceCaps(hdc, LOGPIXELSX); in init_custom_controls()
1530 …This->cctrl_width = MulDiv(160, This->dpi_x, USER_DEFAULT_SCREEN_DPI); /* Controls have a fix… in init_custom_controls()
1531 This->cctrl_indent = MulDiv(100, This->dpi_x, USER_DEFAULT_SCREEN_DPI); in init_custom_controls()
1940 UINT min_width = MulDiv(50, This->dpi_x, USER_DEFAULT_SCREEN_DPI); in update_control_text()
1941 UINT max_width = MulDiv(250, This->dpi_x, USER_DEFAULT_SCREEN_DPI); in update_control_text()