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
9c7b528b
Commit
9c7b528b
authored
Mar 11, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Add null driver entry points for the path functions.
parent
0d27e3c0
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
10 deletions
+20
-10
driver.c
dlls/gdi32/driver.c
+10
-10
gdi_private.h
dlls/gdi32/gdi_private.h
+10
-0
path.c
dlls/gdi32/path.c
+0
-0
No files found.
dlls/gdi32/driver.c
View file @
9c7b528b
...
...
@@ -681,16 +681,16 @@ static BOOL CDECL nulldrv_wglUseFontBitmapsW( PHYSDEV dev, DWORD start, DWORD co
const
DC_FUNCTIONS
null_driver
=
{
nulldrv_AbortDoc
,
/* pAbortDoc */
NULL
,
/* pAbortPath */
nulldrv_AbortPath
,
/* pAbortPath */
NULL
,
/* pAlphaBlend */
nulldrv_AngleArc
,
/* pAngleArc */
nulldrv_Arc
,
/* pArc */
nulldrv_ArcTo
,
/* pArcTo */
NULL
,
/* pBeginPath */
nulldrv_BeginPath
,
/* pBeginPath */
NULL
,
/* pBitBlt */
nulldrv_ChoosePixelFormat
,
/* pChoosePixelFormat */
nulldrv_Chord
,
/* pChord */
NULL
,
/* pCloseFigure */
nulldrv_CloseFigure
,
/* pCloseFigure */
NULL
,
/* pCreateBitmap */
NULL
,
/* pCreateDC */
NULL
,
/* pCreateDIBSection */
...
...
@@ -702,7 +702,7 @@ const DC_FUNCTIONS null_driver =
nulldrv_Ellipse
,
/* pEllipse */
nulldrv_EndDoc
,
/* pEndDoc */
nulldrv_EndPage
,
/* pEndPage */
NULL
,
/* pEndPath */
nulldrv_EndPath
,
/* pEndPath */
nulldrv_EnumICMProfiles
,
/* pEnumICMProfiles */
NULL
,
/* pEnumDeviceFonts */
nulldrv_ExcludeClipRect
,
/* pExcludeClipRect */
...
...
@@ -711,9 +711,9 @@ const DC_FUNCTIONS null_driver =
nulldrv_ExtFloodFill
,
/* pExtFloodFill */
nulldrv_ExtSelectClipRgn
,
/* pExtSelectClipRgn */
NULL
,
/* pExtTextOut */
NULL
,
/* pFillPath */
nulldrv_FillPath
,
/* pFillPath */
nulldrv_FillRgn
,
/* pFillRgn */
NULL
,
/* pFlattenPath */
nulldrv_FlattenPath
,
/* pFlattenPath */
nulldrv_FrameRgn
,
/* pFrameRgn */
nulldrv_GdiComment
,
/* pGdiComment */
NULL
,
/* pGetBitmapBits */
...
...
@@ -758,7 +758,7 @@ const DC_FUNCTIONS null_driver =
nulldrv_ScaleWindowExtEx
,
/* pScaleWindowExt */
nulldrv_SelectBitmap
,
/* pSelectBitmap */
nulldrv_SelectBrush
,
/* pSelectBrush */
NULL
,
/* pSelectClipPath */
nulldrv_SelectClipPath
,
/* pSelectClipPath */
nulldrv_SelectFont
,
/* pSelectFont */
nulldrv_SelectPalette
,
/* pSelectPalette */
nulldrv_SelectPen
,
/* pSelectPen */
...
...
@@ -795,11 +795,11 @@ const DC_FUNCTIONS null_driver =
nulldrv_StartPage
,
/* pStartPage */
NULL
,
/* pStretchBlt */
NULL
,
/* pStretchDIBits */
NULL
,
/* pStrokeAndFillPath */
NULL
,
/* pStrokePath */
nulldrv_StrokeAndFillPath
,
/* pStrokeAndFillPath */
nulldrv_StrokePath
,
/* pStrokePath */
nulldrv_SwapBuffers
,
/* pSwapBuffers */
NULL
,
/* pUnrealizePalette */
NULL
,
/* pWidenPath */
nulldrv_WidenPath
,
/* pWidenPath */
nulldrv_wglCopyContext
,
/* pwglCopyContext */
nulldrv_wglCreateContext
,
/* pwglCreateContext */
nulldrv_wglCreateContextAttribsARB
,
/* pwglCreateContextAttribsARB */
...
...
dlls/gdi32/gdi_private.h
View file @
9c7b528b
...
...
@@ -514,11 +514,17 @@ extern INT mirror_region( HRGN dst, HRGN src, INT width ) DECLSPEC_HIDDEN;
extern
BOOL
REGION_FrameRgn
(
HRGN
dest
,
HRGN
src
,
INT
x
,
INT
y
)
DECLSPEC_HIDDEN
;
/* null driver entry points */
extern
BOOL
CDECL
nulldrv_AbortPath
(
PHYSDEV
dev
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_AngleArc
(
PHYSDEV
dev
,
INT
x
,
INT
y
,
DWORD
radius
,
FLOAT
start
,
FLOAT
sweep
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_ArcTo
(
PHYSDEV
dev
,
INT
left
,
INT
top
,
INT
right
,
INT
bottom
,
INT
xstart
,
INT
ystart
,
INT
xend
,
INT
yend
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_BeginPath
(
PHYSDEV
dev
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_CloseFigure
(
PHYSDEV
dev
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_EndPath
(
PHYSDEV
dev
)
DECLSPEC_HIDDEN
;
extern
INT
CDECL
nulldrv_ExcludeClipRect
(
PHYSDEV
dev
,
INT
left
,
INT
top
,
INT
right
,
INT
bottom
)
DECLSPEC_HIDDEN
;
extern
INT
CDECL
nulldrv_ExtSelectClipRgn
(
PHYSDEV
dev
,
HRGN
rgn
,
INT
mode
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_FillPath
(
PHYSDEV
dev
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_FillRgn
(
PHYSDEV
dev
,
HRGN
rgn
,
HBRUSH
brush
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_FlattenPath
(
PHYSDEV
dev
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_FrameRgn
(
PHYSDEV
dev
,
HRGN
rgn
,
HBRUSH
brush
,
INT
width
,
INT
height
)
DECLSPEC_HIDDEN
;
extern
COLORREF
CDECL
nulldrv_GetNearestColor
(
PHYSDEV
dev
,
COLORREF
color
)
DECLSPEC_HIDDEN
;
extern
INT
CDECL
nulldrv_IntersectClipRect
(
PHYSDEV
dev
,
INT
left
,
INT
top
,
INT
right
,
INT
bottom
)
DECLSPEC_HIDDEN
;
...
...
@@ -532,11 +538,15 @@ extern BOOL CDECL nulldrv_PolyDraw( PHYSDEV dev, const POINT *points, const BYTE
extern
BOOL
CDECL
nulldrv_PolylineTo
(
PHYSDEV
dev
,
const
POINT
*
points
,
INT
count
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_ScaleViewportExtEx
(
PHYSDEV
dev
,
INT
x_num
,
INT
x_denom
,
INT
y_num
,
INT
y_denom
,
SIZE
*
size
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_ScaleWindowExtEx
(
PHYSDEV
dev
,
INT
x_num
,
INT
x_denom
,
INT
y_num
,
INT
y_denom
,
SIZE
*
size
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_SelectClipPath
(
PHYSDEV
dev
,
INT
mode
)
DECLSPEC_HIDDEN
;
extern
INT
CDECL
nulldrv_SetMapMode
(
PHYSDEV
dev
,
INT
mode
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_SetViewportExtEx
(
PHYSDEV
dev
,
INT
cx
,
INT
cy
,
SIZE
*
size
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_SetViewportOrgEx
(
PHYSDEV
dev
,
INT
x
,
INT
y
,
POINT
*
pt
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_SetWindowExtEx
(
PHYSDEV
dev
,
INT
cx
,
INT
cy
,
SIZE
*
size
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_SetWindowOrgEx
(
PHYSDEV
dev
,
INT
x
,
INT
y
,
POINT
*
pt
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_StrokeAndFillPath
(
PHYSDEV
dev
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_StrokePath
(
PHYSDEV
dev
)
DECLSPEC_HIDDEN
;
extern
BOOL
CDECL
nulldrv_WidenPath
(
PHYSDEV
dev
)
DECLSPEC_HIDDEN
;
static
inline
DC
*
get_nulldrv_dc
(
PHYSDEV
dev
)
{
...
...
dlls/gdi32/path.c
View file @
9c7b528b
This diff is collapsed.
Click to expand it.
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