Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
eb2a4ec5
Commit
eb2a4ec5
authored
Feb 20, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 23, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite/tests: Test default colors of render target memory HDC.
parent
0067be66
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
font.c
dlls/dwrite/tests/font.c
+9
-0
No files found.
dlls/dwrite/tests/font.c
View file @
eb2a4ec5
...
...
@@ -632,6 +632,7 @@ static void test_CreateBitmapRenderTarget(void)
HBITMAP
hbm
,
hbm2
;
DWRITE_MATRIX
m
;
DIBSECTION
ds
;
COLORREF
c
;
HRESULT
hr
;
FLOAT
pdip
;
SIZE
size
;
...
...
@@ -689,6 +690,14 @@ if (0) /* crashes on native */
hdc
=
IDWriteBitmapRenderTarget_GetMemoryDC
(
target
);
ok
(
hdc
!=
NULL
,
"got %p
\n
"
,
hdc
);
/* test context settings */
c
=
GetTextColor
(
hdc
);
ok
(
c
==
RGB
(
0
,
0
,
0
),
"got 0x%08x
\n
"
,
c
);
ret
=
GetBkMode
(
hdc
);
ok
(
ret
==
OPAQUE
,
"got %d
\n
"
,
ret
);
c
=
GetBkColor
(
hdc
);
ok
(
c
==
RGB
(
255
,
255
,
255
),
"got 0x%08x
\n
"
,
c
);
hbm
=
GetCurrentObject
(
hdc
,
OBJ_BITMAP
);
ok
(
hbm
!=
NULL
,
"got %p
\n
"
,
hbm
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment