|
ReactOS 0.4.16-dev-1948-gd260c1d
|
#include <stdio.h>#include <math.h>#include "wine/test.h"#include "winbase.h"#include "wingdi.h"#include "winuser.h"#include "winerror.h"
Go to the source code of this file.
Macros | |
| #define | rough_match(got, expected) (abs( MulDiv( (got) - (expected), 1000, (expected) )) <= 5) |
| #define | expect_LPtoDP(_hdc, _x, _y) |
| #define | expect_world_transform(_hdc, _em11, _em22) |
| #define | expect_dc_ext(_func, _hdc, _cx, _cy) |
| #define | expect_viewport_ext(_hdc, _cx, _cy) expect_dc_ext(GetViewportExtEx, _hdc, _cx, _cy) |
| #define | expect_window_ext(_hdc, _cx, _cy) expect_dc_ext(GetWindowExtEx, _hdc, _cx, _cy) |
Functions | |
| static | DWORD (WINAPI *pSetLayout)(HDC hdc |
| static | INT (WINAPI *pGetRandomRgn)(HDC hDC |
| static | BOOL (WINAPI *pGetTransform)(HDC |
| static void | test_world_transform (void) |
| static void | test_dc_layout (void) |
| static void | test_modify_world_transform (void) |
| static void | test_SetWindowExt (HDC hdc, LONG cx, LONG cy, LONG expected_vp_cx, LONG expected_vp_cy) |
| static void | test_SetViewportExt (HDC hdc, LONG cx, LONG cy, LONG expected_vp_cx, LONG expected_vp_cy) |
| static void | test_isotropic_mapping (void) |
| static void | test_setvirtualresolution (void) |
| static void | expect_identity (int line, XFORM *xf) |
| static void | xform_near_match (int line, XFORM *got, XFORM *expect) |
| static void | test_gettransform (void) |
| START_TEST (mapping) | |
Variables | |
| static DWORD | layout |
| static HRGN | hRgn |
| static HRGN INT | iCode |
| static | DWORD |
| #define expect_dc_ext | ( | _func, | |
| _hdc, | |||
| _cx, | |||
| _cy | |||
| ) |
| #define expect_viewport_ext | ( | _hdc, | |
| _cx, | |||
| _cy | |||
| ) | expect_dc_ext(GetViewportExtEx, _hdc, _cx, _cy) |
| #define expect_window_ext | ( | _hdc, | |
| _cx, | |||
| _cy | |||
| ) | expect_dc_ext(GetWindowExtEx, _hdc, _cx, _cy) |
| #define expect_world_transform | ( | _hdc, | |
| _em11, | |||
| _em22 | |||
| ) |
Definition at line 593 of file mapping.c.
Referenced by test_gettransform().
| START_TEST | ( | mapping | ) |
Definition at line 714 of file mapping.c.
Definition at line 240 of file mapping.c.
Referenced by START_TEST().
Definition at line 614 of file mapping.c.
Referenced by START_TEST().
Definition at line 465 of file mapping.c.
Referenced by START_TEST().
Definition at line 384 of file mapping.c.
Referenced by START_TEST().
|
static |
Definition at line 434 of file mapping.c.
Referenced by test_isotropic_mapping().
Definition at line 504 of file mapping.c.
Referenced by START_TEST().
|
static |
Definition at line 404 of file mapping.c.
Referenced by test_isotropic_mapping().
Definition at line 79 of file mapping.c.
Referenced by START_TEST().
Definition at line 603 of file mapping.c.
Referenced by test_gettransform().
| HRGN hRgn |
Definition at line 33 of file mapping.c.
Referenced by co_UserGetUpdateRgn(), CUIFBalloonWindow::CreateRegion(), EnumEnhMetaFile(), ForceNCPaintErase(), Region::FromHRGN(), Region::GetHRGN(), GetMessageRedrawWindowTest(), ATL::CWindow::GetUpdateRgn(), GetUpdateRgn(), ATL::CWindow::GetWindowRgn(), GetWindowRgn(), IntBeginPaint(), IntDefWindowProc(), IntForceMinimizeWindow(), IntGdiGetRgnBox(), IntGdiSetRegionOwner(), IntRectInRegion(), IntSendNCPaint(), ATL::CWindow::InvalidateRgn(), InvalidateRgn(), NC_HandleNCActivate(), NtGdiCreateRectRgn(), NtGdiExtCreateRegion(), NtGdiGetRgnBox(), NtUserGetUpdateRgn(), NtUserInvalidateRgn(), NtUserSetWindowRgn(), NtUserxValidateRgn(), PAGER_NCPaint(), CUIFBalloonWindow::PaintFrameProc(), PlayEnhMetaFileRecord(), PlayMetaFile(), Region::Region(), Graphics::SetClip(), CACSizeBox::SetStatus(), ATL::CWindow::SetWindowRgn(), SetWindowRgn(), START_TEST(), test_clipping(), Test_Region(), ThemeHandleNCPaint(), ThemeInitDrawContext(), ThemeSetWindowRgn(), TOOLTIPS_Refresh(), TOOLTIPS_Show(), UpdateTheadChildren(), UpdateThreadWindows(), ATL::CWindow::ValidateRgn(), and ValidateRgn().
| HRGN INT iCode |
Definition at line 33 of file mapping.c.
Referenced by compare_items(), dont_expect_notify(), expect_notify(), NtGdiGetRandomRgn(), and TreeListProc().