https://git.reactos.org/?p=reactos.git;a=commitdiff;h=90be07f79abea98ad804c…
commit 90be07f79abea98ad804c85af2c708581b15d949
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Fri Jun 21 15:45:54 2019 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Fri Jun 21 15:45:54 2019 +0900
[GDI32_APITEST] Improve TextTransform (add translation) (#1675)
Add some coordinate translation tests. CORE-15554
---
modules/rostests/apitests/gdi32/TextTransform.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/modules/rostests/apitests/gdi32/TextTransform.c
b/modules/rostests/apitests/gdi32/TextTransform.c
index 47657e88a2..e7b24023bf 100644
--- a/modules/rostests/apitests/gdi32/TextTransform.c
+++ b/modules/rostests/apitests/gdi32/TextTransform.c
@@ -136,6 +136,8 @@ static const TEST_ENTRY s_entries[] =
{__LINE__, GM_COMPATIBLE, {XCENTER, YCENTER}, TA_LEFT | TA_BOTTOM, {0, 1, 0, 1, 0,
0}, FALSE, L"009.bmp", NO_TRANS_1},
{__LINE__, GM_COMPATIBLE, {XCENTER, YCENTER}, TA_LEFT | TA_BOTTOM, {1, 1, 1, 1, 0,
0}, FALSE, L"010.bmp", NO_TRANS_1},
{__LINE__, GM_COMPATIBLE, {XCENTER, YCENTER}, TA_LEFT | TA_BOTTOM, {0, 0, 0, 0, 0,
0}, FALSE, L"011.bmp", NO_TRANS_1},
+ {__LINE__, GM_COMPATIBLE, {XCENTER, YCENTER}, TA_LEFT | TA_BOTTOM, {0, 0, 0, 0, 1,
0}, FALSE, L"012.bmp", NO_TRANS_1},
+ {__LINE__, GM_COMPATIBLE, {XCENTER, YCENTER}, TA_LEFT | TA_BOTTOM, {0, 0, 0, 0, 0,
1}, FALSE, L"013.bmp", NO_TRANS_1},
// GM_COMPATIBLE TA_TOP
{__LINE__, GM_COMPATIBLE, {XCENTER, YCENTER}, TA_LEFT | TA_TOP, {1, 0, 0, 1, 0, 0},
FALSE, L"100.bmp", NO_TRANS_2},
@@ -150,6 +152,8 @@ static const TEST_ENTRY s_entries[] =
{__LINE__, GM_COMPATIBLE, {XCENTER, YCENTER}, TA_LEFT | TA_TOP, {0, 1, 0, 1, 0, 0},
FALSE, L"109.bmp", NO_TRANS_2},
{__LINE__, GM_COMPATIBLE, {XCENTER, YCENTER}, TA_LEFT | TA_TOP, {1, 1, 1, 1, 0, 0},
FALSE, L"110.bmp", NO_TRANS_2},
{__LINE__, GM_COMPATIBLE, {XCENTER, YCENTER}, TA_LEFT | TA_TOP, {0, 0, 0, 0, 0, 0},
FALSE, L"111.bmp", NO_TRANS_2},
+ {__LINE__, GM_COMPATIBLE, {XCENTER, YCENTER}, TA_LEFT | TA_TOP, {0, 0, 0, 0, 1, 0},
FALSE, L"112.bmp", NO_TRANS_2},
+ {__LINE__, GM_COMPATIBLE, {XCENTER, YCENTER}, TA_LEFT | TA_TOP, {0, 0, 0, 0, 0, 1},
FALSE, L"113.bmp", NO_TRANS_2},
// GM_ADVANCED TA_LEFT TA_BOTTOM
{__LINE__, GM_ADVANCED, {XCENTER, YCENTER}, TA_LEFT | TA_BOTTOM, {1, 0, 0, 1, 0, 0},
TRUE, L"200.bmp", NO_TRANS_1},
@@ -172,6 +176,8 @@ static const TEST_ENTRY s_entries[] =
{__LINE__, GM_ADVANCED, {XCENTER, YCENTER}, TA_LEFT | TA_BOTTOM, {0, 1, 0, 1, 0, 0},
FALSE, L"209.bmp", NO_TRANS_1},
{__LINE__, GM_ADVANCED, {XCENTER, YCENTER}, TA_LEFT | TA_BOTTOM, {1, 1, 1, 1, 0, 0},
FALSE, L"210.bmp", NO_TRANS_1},
{__LINE__, GM_ADVANCED, {XCENTER, YCENTER}, TA_LEFT | TA_BOTTOM, {0, 0, 0, 0, 0, 0},
FALSE, L"211.bmp", NO_TRANS_1},
+ {__LINE__, GM_ADVANCED, {XCENTER, YCENTER}, TA_LEFT | TA_BOTTOM, {0, 0, 0, 0, 1, 0},
FALSE, L"212.bmp", NO_TRANS_1},
+ {__LINE__, GM_ADVANCED, {XCENTER, YCENTER}, TA_LEFT | TA_BOTTOM, {0, 0, 0, 0, 0, 1},
FALSE, L"213.bmp", NO_TRANS_1},
// GM_ADVANCED TA_LEFT TA_TOP
{__LINE__, GM_ADVANCED, {0, 0}, TA_LEFT | TA_TOP, {2, 0, 0, 1, 0, 0}, TRUE,
L"300.bmp",