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
3955d1a9
Commit
3955d1a9
authored
Jun 14, 2002
by
Huw D M Davies
Committed by
Alexandre Julliard
Jun 14, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added PatBlt support in enhanced metafiles.
parent
5cd279aa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
1 deletion
+69
-1
Makefile.in
dlls/gdi/Makefile.in
+1
-0
bitblt.c
dlls/gdi/enhmfdrv/bitblt.c
+67
-0
init.c
dlls/gdi/enhmfdrv/init.c
+1
-1
No files found.
dlls/gdi/Makefile.in
View file @
3955d1a9
...
...
@@ -35,6 +35,7 @@ C_SRCS = \
$(TOPOBJDIR)
/objects/text.c
\
bidi16.c
\
driver.c
\
enhmfdrv/bitblt.c
\
enhmfdrv/dc.c
\
enhmfdrv/graphics.c
\
enhmfdrv/init.c
\
...
...
dlls/gdi/enhmfdrv/bitblt.c
0 → 100644
View file @
3955d1a9
/*
* Enhanced MetaFile driver BitBlt functions
*
* Copyright 2002 Huw D M Davies for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <string.h>
#include "windef.h"
#include "wingdi.h"
#include "gdi.h"
#include "enhmetafiledrv.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
enhmetafile
);
extern
BOOL
EMFDRV_PatBlt
(
PHYSDEV
dev
,
INT
left
,
INT
top
,
INT
width
,
INT
height
,
DWORD
rop
)
{
EMRBITBLT
emr
;
BOOL
ret
;
emr
.
emr
.
iType
=
EMR_BITBLT
;
emr
.
emr
.
nSize
=
sizeof
(
emr
);
emr
.
rclBounds
.
left
=
left
;
emr
.
rclBounds
.
top
=
top
;
emr
.
rclBounds
.
right
=
left
+
width
-
1
;
emr
.
rclBounds
.
bottom
=
top
+
height
-
1
;
emr
.
xDest
=
left
;
emr
.
yDest
=
top
;
emr
.
cxDest
=
width
;
emr
.
cyDest
=
height
;
emr
.
dwRop
=
rop
;
emr
.
xSrc
=
0
;
emr
.
ySrc
=
0
;
emr
.
xformSrc
.
eM11
=
1
.
0
;
emr
.
xformSrc
.
eM12
=
0
.
0
;
emr
.
xformSrc
.
eM21
=
0
.
0
;
emr
.
xformSrc
.
eM22
=
1
.
0
;
emr
.
xformSrc
.
eDx
=
0
.
0
;
emr
.
xformSrc
.
eDy
=
0
.
0
;
emr
.
crBkColorSrc
=
0
;
emr
.
iUsageSrc
=
0
;
emr
.
offBmiSrc
=
0
;
emr
.
cbBmiSrc
=
0
;
emr
.
offBitsSrc
=
0
;
emr
.
cbBitsSrc
=
0
;
ret
=
EMFDRV_WriteRecord
(
dev
,
&
emr
.
emr
);
if
(
ret
)
EMFDRV_UpdateBBox
(
dev
,
&
emr
.
rclBounds
);
return
ret
;
}
dlls/gdi/enhmfdrv/init.c
View file @
3955d1a9
...
...
@@ -83,7 +83,7 @@ static const DC_FUNCTIONS EMFDRV_Funcs =
NULL
,
/* pOffsetViewportOrg */
NULL
,
/* pOffsetWindowOrg */
EMFDRV_PaintRgn
,
/* pPaintRgn */
NULL
,
/* pPatBlt */
EMFDRV_PatBlt
,
/* pPatBlt */
EMFDRV_Pie
,
/* pPie */
NULL
,
/* pPolyBezier */
NULL
,
/* pPolyBezierTo */
...
...
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