Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
d68a9d12
Commit
d68a9d12
authored
Dec 11, 2023
by
Santino Mazza
Committed by
Alexandre Julliard
Feb 12, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus/tests: Add interactive test for font linking.
parent
1454ffe7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
graphics.c
dlls/gdiplus/tests/graphics.c
+21
-2
No files found.
dlls/gdiplus/tests/graphics.c
View file @
d68a9d12
...
...
@@ -2357,10 +2357,29 @@ static void test_GdipDrawString(void)
}
expect
(
Ok
,
status
);
status
=
GdipCreateS
olidFill
((
ARGB
)
0xdeadbeef
,
(
GpSolidFill
**
)
&
brush
);
status
=
GdipCreateS
tringFormat
(
0
,
0
,
&
format
);
expect
(
Ok
,
status
);
status
=
GdipCreateStringFormat
(
0
,
0
,
&
format
);
if
(
winetest_interactive
)
{
status
=
GdipCreateSolidFill
(
0xFF000000
,
(
GpSolidFill
**
)
&
brush
);
expect
(
Ok
,
status
);
rect
.
X
=
0
;
rect
.
Y
=
0
;
rect
.
Width
=
0
;
rect
.
Height
=
14
;
GdipRotateWorldTransform
(
graphics
,
45
,
MatrixOrderPrepend
);
GdipScaleWorldTransform
(
graphics
,
2
,
2
,
MatrixOrderPrepend
);
GdipGraphicsClear
(
graphics
,
0xFFFFFFFF
);
status
=
GdipDrawString
(
graphics
,
L"\u8336Hola\u8336"
,
6
,
fnt
,
&
rect
,
format
,
brush
);
expect
(
Ok
,
status
);
RedrawWindow
(
hwnd
,
NULL
,
NULL
,
RDW_INVALIDATE
|
RDW_UPDATENOW
);
/* FIXME: In Windows this test works without this line. */
Sleep
(
4000
);
GdipDeleteBrush
(
brush
);
GdipResetWorldTransform
(
graphics
);
}
status
=
GdipCreateSolidFill
((
ARGB
)
0xdeadbeef
,
(
GpSolidFill
**
)
&
brush
);
expect
(
Ok
,
status
);
rect
.
X
=
0
;
...
...
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