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
95cba0c0
Commit
95cba0c0
authored
Oct 31, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Add a DC driver entry point for GdiGradientFill.
parent
afd96212
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
13 additions
and
1 deletion
+13
-1
dc.c
dlls/gdi32/dibdrv/dc.c
+1
-0
driver.c
dlls/gdi32/driver.c
+1
-0
init.c
dlls/gdi32/enhmfdrv/init.c
+1
-0
freetype.c
dlls/gdi32/freetype.c
+1
-0
gdi_private.h
dlls/gdi32/gdi_private.h
+2
-0
init.c
dlls/gdi32/mfdrv/init.c
+1
-0
painting.c
dlls/gdi32/painting.c
+0
-0
path.c
dlls/gdi32/path.c
+1
-0
init.c
dlls/wineps.drv/init.c
+1
-0
init.c
dlls/winex11.drv/init.c
+1
-0
xrender.c
dlls/winex11.drv/xrender.c
+1
-0
gdi_driver.h
include/wine/gdi_driver.h
+2
-1
No files found.
dlls/gdi32/dibdrv/dc.c
View file @
95cba0c0
...
...
@@ -586,6 +586,7 @@ const struct gdi_dc_funcs dib_driver =
NULL
,
/* pGetTextExtentExPointI */
NULL
,
/* pGetTextFace */
NULL
,
/* pGetTextMetrics */
NULL
,
/* pGradientFill */
NULL
,
/* pIntersectClipRect */
NULL
,
/* pInvertRgn */
dibdrv_LineTo
,
/* pLineTo */
...
...
dlls/gdi32/driver.c
View file @
95cba0c0
...
...
@@ -796,6 +796,7 @@ const struct gdi_dc_funcs null_driver =
nulldrv_GetTextExtentExPointI
,
/* pGetTextExtentExPointI */
nulldrv_GetTextFace
,
/* pGetTextFace */
nulldrv_GetTextMetrics
,
/* pGetTextMetrics */
nulldrv_GradientFill
,
/* pGradientFill */
nulldrv_IntersectClipRect
,
/* pIntersectClipRect */
nulldrv_InvertRgn
,
/* pInvertRgn */
nulldrv_LineTo
,
/* pLineTo */
...
...
dlls/gdi32/enhmfdrv/init.c
View file @
95cba0c0
...
...
@@ -97,6 +97,7 @@ static const struct gdi_dc_funcs EMFDRV_Funcs =
NULL
,
/* pGetTextExtentExPointI */
NULL
,
/* pGetTextFace */
NULL
,
/* pGetTextMetrics */
NULL
,
/* pGradientFill */
EMFDRV_IntersectClipRect
,
/* pIntersectClipRect */
EMFDRV_InvertRgn
,
/* pInvertRgn */
EMFDRV_LineTo
,
/* pLineTo */
...
...
dlls/gdi32/freetype.c
View file @
95cba0c0
...
...
@@ -7183,6 +7183,7 @@ static const struct gdi_dc_funcs freetype_funcs =
freetype_GetTextExtentExPointI
,
/* pGetTextExtentExPointI */
freetype_GetTextFace
,
/* pGetTextFace */
freetype_GetTextMetrics
,
/* pGetTextMetrics */
NULL
,
/* pGradientFill */
NULL
,
/* pIntersectClipRect */
NULL
,
/* pInvertRgn */
NULL
,
/* pLineTo */
...
...
dlls/gdi32/gdi_private.h
View file @
95cba0c0
...
...
@@ -364,6 +364,8 @@ extern BOOL nulldrv_FrameRgn( PHYSDEV dev, HRGN rgn, HBRUSH brush, INT width, IN
extern
LONG
nulldrv_GetBitmapBits
(
HBITMAP
bitmap
,
void
*
bits
,
LONG
size
)
DECLSPEC_HIDDEN
;
extern
DWORD
nulldrv_GetImage
(
PHYSDEV
dev
,
HBITMAP
hbitmap
,
BITMAPINFO
*
info
,
struct
gdi_image_bits
*
bits
,
struct
bitblt_coords
*
src
)
DECLSPEC_HIDDEN
;
extern
COLORREF
nulldrv_GetNearestColor
(
PHYSDEV
dev
,
COLORREF
color
)
DECLSPEC_HIDDEN
;
extern
BOOL
nulldrv_GradientFill
(
PHYSDEV
dev
,
TRIVERTEX
*
vert_array
,
ULONG
nvert
,
void
*
grad_array
,
ULONG
ngrad
,
ULONG
mode
)
DECLSPEC_HIDDEN
;
extern
INT
nulldrv_IntersectClipRect
(
PHYSDEV
dev
,
INT
left
,
INT
top
,
INT
right
,
INT
bottom
)
DECLSPEC_HIDDEN
;
extern
BOOL
nulldrv_InvertRgn
(
PHYSDEV
dev
,
HRGN
rgn
)
DECLSPEC_HIDDEN
;
extern
BOOL
nulldrv_ModifyWorldTransform
(
PHYSDEV
dev
,
const
XFORM
*
xform
,
DWORD
mode
)
DECLSPEC_HIDDEN
;
...
...
dlls/gdi32/mfdrv/init.c
View file @
95cba0c0
...
...
@@ -142,6 +142,7 @@ static const struct gdi_dc_funcs MFDRV_Funcs =
NULL
,
/* pGetTextExtentExPointI */
NULL
,
/* pGetTextFace */
NULL
,
/* pGetTextMetrics */
NULL
,
/* pGradientFill */
MFDRV_IntersectClipRect
,
/* pIntersectClipRect */
MFDRV_InvertRgn
,
/* pInvertRgn */
MFDRV_LineTo
,
/* pLineTo */
...
...
dlls/gdi32/painting.c
View file @
95cba0c0
This diff is collapsed.
Click to expand it.
dlls/gdi32/path.c
View file @
95cba0c0
...
...
@@ -2315,6 +2315,7 @@ const struct gdi_dc_funcs path_driver =
NULL
,
/* pGetTextExtentExPointI */
NULL
,
/* pGetTextFace */
NULL
,
/* pGetTextMetrics */
NULL
,
/* pGradientFill */
NULL
,
/* pIntersectClipRect */
NULL
,
/* pInvertRgn */
pathdrv_LineTo
,
/* pLineTo */
...
...
dlls/wineps.drv/init.c
View file @
95cba0c0
...
...
@@ -879,6 +879,7 @@ static const struct gdi_dc_funcs psdrv_funcs =
NULL
,
/* pGetTextExtentExPointI */
NULL
,
/* pGetTextFace */
PSDRV_GetTextMetrics
,
/* pGetTextMetrics */
NULL
,
/* pGradientFill */
NULL
,
/* pIntersectClipRect */
NULL
,
/* pInvertRgn */
PSDRV_LineTo
,
/* pLineTo */
...
...
dlls/winex11.drv/init.c
View file @
95cba0c0
...
...
@@ -526,6 +526,7 @@ static const struct gdi_dc_funcs x11drv_funcs =
NULL
,
/* pGetTextExtentExPointI */
NULL
,
/* pGetTextFace */
X11DRV_GetTextMetrics
,
/* pGetTextMetrics */
NULL
,
/* pGradientFill */
NULL
,
/* pIntersectClipRect */
NULL
,
/* pInvertRgn */
X11DRV_LineTo
,
/* pLineTo */
...
...
dlls/winex11.drv/xrender.c
View file @
95cba0c0
...
...
@@ -3071,6 +3071,7 @@ static const struct gdi_dc_funcs xrender_funcs =
NULL
,
/* pGetTextExtentExPointI */
NULL
,
/* pGetTextFace */
NULL
,
/* pGetTextMetrics */
NULL
,
/* pGradientFill */
NULL
,
/* pIntersectClipRect */
NULL
,
/* pInvertRgn */
NULL
,
/* pLineTo */
...
...
include/wine/gdi_driver.h
View file @
95cba0c0
...
...
@@ -115,6 +115,7 @@ struct gdi_dc_funcs
BOOL
(
*
pGetTextExtentExPointI
)(
PHYSDEV
,
const
WORD
*
,
INT
,
INT
,
LPINT
,
LPINT
,
LPSIZE
);
INT
(
*
pGetTextFace
)(
PHYSDEV
,
INT
,
LPWSTR
);
BOOL
(
*
pGetTextMetrics
)(
PHYSDEV
,
TEXTMETRICW
*
);
BOOL
(
*
pGradientFill
)(
PHYSDEV
,
TRIVERTEX
*
,
ULONG
,
void
*
,
ULONG
,
ULONG
);
INT
(
*
pIntersectClipRect
)(
PHYSDEV
,
INT
,
INT
,
INT
,
INT
);
BOOL
(
*
pInvertRgn
)(
PHYSDEV
,
HRGN
);
BOOL
(
*
pLineTo
)(
PHYSDEV
,
INT
,
INT
);
...
...
@@ -203,7 +204,7 @@ struct gdi_dc_funcs
};
/* increment this when you change the DC function table */
#define WINE_GDI_DRIVER_VERSION 1
6
#define WINE_GDI_DRIVER_VERSION 1
7
static
inline
PHYSDEV
get_physdev_entry_point
(
PHYSDEV
dev
,
size_t
offset
)
{
...
...
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