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
25e300dc
Commit
25e300dc
authored
Dec 05, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Add a null driver implementation for Polyline and Polygon.
parent
95f81d10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
driver.c
dlls/gdi32/driver.c
+7
-4
No files found.
dlls/gdi32/driver.c
View file @
25e300dc
...
...
@@ -477,24 +477,27 @@ static BOOL nulldrv_Pie( PHYSDEV dev, INT left, INT top, INT right, INT bottom,
static
BOOL
nulldrv_PolyPolygon
(
PHYSDEV
dev
,
const
POINT
*
points
,
const
INT
*
counts
,
UINT
polygons
)
{
/* FIXME: could be implemented with Polygon */
return
TRUE
;
}
static
BOOL
nulldrv_PolyPolyline
(
PHYSDEV
dev
,
const
POINT
*
points
,
const
DWORD
*
counts
,
DWORD
lines
)
{
/* FIXME: could be implemented with Polyline */
return
TRUE
;
}
static
BOOL
nulldrv_Polygon
(
PHYSDEV
dev
,
const
POINT
*
points
,
INT
count
)
{
return
TRUE
;
INT
counts
[
1
]
=
{
count
};
return
PolyPolygon
(
dev
->
hdc
,
points
,
counts
,
1
);
}
static
BOOL
nulldrv_Polyline
(
PHYSDEV
dev
,
const
POINT
*
points
,
INT
count
)
{
return
TRUE
;
DWORD
counts
[
1
]
=
{
count
};
if
(
count
<
0
)
return
FALSE
;
return
PolyPolyline
(
dev
->
hdc
,
points
,
counts
,
1
);
}
static
UINT
nulldrv_RealizeDefaultPalette
(
PHYSDEV
dev
)
...
...
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