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
39629a3d
Commit
39629a3d
authored
Aug 30, 2013
by
Ralf Habacker
Committed by
Alexandre Julliard
Sep 05, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Fixed Rectangle() rotation with GM_ADVANCED graphics mode in dib driver.
parent
22fc22d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
graphics.c
dlls/gdi32/dibdrv/graphics.c
+9
-0
No files found.
dlls/gdi32/dibdrv/graphics.c
View file @
39629a3d
...
@@ -1285,6 +1285,15 @@ BOOL dibdrv_Rectangle( PHYSDEV dev, INT left, INT top, INT right, INT bottom )
...
@@ -1285,6 +1285,15 @@ BOOL dibdrv_Rectangle( PHYSDEV dev, INT left, INT top, INT right, INT bottom )
TRACE
(
"(%p, %d, %d, %d, %d)
\n
"
,
dev
,
left
,
top
,
right
,
bottom
);
TRACE
(
"(%p, %d, %d, %d, %d)
\n
"
,
dev
,
left
,
top
,
right
,
bottom
);
if
(
GetGraphicsMode
(
dev
->
hdc
)
==
GM_ADVANCED
)
{
pts
[
0
].
x
=
pts
[
3
].
x
=
left
;
pts
[
0
].
y
=
pts
[
1
].
y
=
top
;
pts
[
1
].
x
=
pts
[
2
].
x
=
right
;
pts
[
2
].
y
=
pts
[
3
].
y
=
bottom
;
return
dibdrv_Polygon
(
dev
,
pts
,
4
);
}
if
(
!
get_pen_device_rect
(
pdev
,
&
rect
,
left
,
top
,
right
,
bottom
))
return
TRUE
;
if
(
!
get_pen_device_rect
(
pdev
,
&
rect
,
left
,
top
,
right
,
bottom
))
return
TRUE
;
if
(
pdev
->
pen_uses_region
&&
!
(
outline
=
CreateRectRgn
(
0
,
0
,
0
,
0
)))
return
FALSE
;
if
(
pdev
->
pen_uses_region
&&
!
(
outline
=
CreateRectRgn
(
0
,
0
,
0
,
0
)))
return
FALSE
;
...
...
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