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
db6fe9ee
Commit
db6fe9ee
authored
Oct 12, 2011
by
Huw Davies
Committed by
Alexandre Julliard
Oct 12, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Use the helper to get the bounding rectangle.
parent
3b966901
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
bitblt.c
dlls/gdi32/dibdrv/bitblt.c
+1
-7
No files found.
dlls/gdi32/dibdrv/bitblt.c
View file @
db6fe9ee
...
...
@@ -1034,13 +1034,7 @@ DWORD stretch_bitmapinfo( const BITMAPINFO *src_info, void *src_bits, struct bit
src_start
.
x
,
src_start
.
y
,
h_params
.
src_inc
,
v_params
.
src_inc
,
h_params
.
length
,
v_params
.
length
);
rect
.
left
=
dst_start
.
x
;
rect
.
top
=
dst_start
.
y
;
rect
.
right
=
dst_end
.
x
;
rect
.
bottom
=
dst_end
.
y
;
if
(
rect
.
right
<
rect
.
left
)
{
INT
tmp
=
rect
.
left
;
rect
.
left
=
rect
.
right
+
1
;
rect
.
right
=
tmp
+
1
;
}
if
(
rect
.
bottom
<
rect
.
top
)
{
INT
tmp
=
rect
.
top
;
rect
.
top
=
rect
.
bottom
+
1
;
rect
.
bottom
=
tmp
+
1
;
}
get_bounding_rect
(
&
rect
,
dst_start
.
x
,
dst_start
.
y
,
dst_end
.
x
-
dst_start
.
x
,
dst_end
.
y
-
dst_start
.
y
);
intersect_rect
(
&
dst
->
visrect
,
&
dst
->
visrect
,
&
rect
);
dst_start
.
x
-=
dst
->
visrect
.
left
;
...
...
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