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
9afd280d
Commit
9afd280d
authored
Jul 21, 2015
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1: Implement d2d_d3d_render_target_FillRoundedRectangle().
parent
d1e14292
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
render_target.c
dlls/d2d1/render_target.c
+14
-1
No files found.
dlls/d2d1/render_target.c
View file @
9afd280d
...
...
@@ -573,7 +573,20 @@ static void STDMETHODCALLTYPE d2d_d3d_render_target_DrawRoundedRectangle(ID2D1Re
static
void
STDMETHODCALLTYPE
d2d_d3d_render_target_FillRoundedRectangle
(
ID2D1RenderTarget
*
iface
,
const
D2D1_ROUNDED_RECT
*
rect
,
ID2D1Brush
*
brush
)
{
FIXME
(
"iface %p, rect %p, brush %p stub!
\n
"
,
iface
,
rect
,
brush
);
struct
d2d_d3d_render_target
*
render_target
=
impl_from_ID2D1RenderTarget
(
iface
);
ID2D1RoundedRectangleGeometry
*
geometry
;
HRESULT
hr
;
TRACE
(
"iface %p, rect %p, brush %p.
\n
"
,
iface
,
rect
,
brush
);
if
(
FAILED
(
hr
=
ID2D1Factory_CreateRoundedRectangleGeometry
(
render_target
->
factory
,
rect
,
&
geometry
)))
{
ERR
(
"Failed to create geometry, hr %#x.
\n
"
,
hr
);
return
;
}
ID2D1RenderTarget_FillGeometry
(
iface
,
(
ID2D1Geometry
*
)
geometry
,
brush
,
NULL
);
ID2D1RoundedRectangleGeometry_Release
(
geometry
);
}
static
void
STDMETHODCALLTYPE
d2d_d3d_render_target_DrawEllipse
(
ID2D1RenderTarget
*
iface
,
...
...
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