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
0ea97b5f
Commit
0ea97b5f
authored
Jun 30, 2008
by
Huw Davies
Committed by
Alexandre Julliard
Jul 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Add stubs for a few region functions.
parent
92642828
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
65 additions
and
7 deletions
+65
-7
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+7
-7
region.c
dlls/gdiplus/region.c
+51
-0
gdiplusflat.h
include/gdiplusflat.h
+7
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
0ea97b5f
...
...
@@ -62,9 +62,9 @@
@ stdcall GdipClosePathFigure(ptr)
@ stdcall GdipClosePathFigures(ptr)
@ stub GdipCombineRegionPath
@ st
ub GdipCombineRegionRect
@ st
ub GdipCombineRegionRectI
@ st
ub GdipCombineRegionRegion
@ st
dcall GdipCombineRegionRect(ptr ptr long)
@ st
dcall GdipCombineRegionRectI(ptr ptr long)
@ st
dcall GdipCombineRegionRegion(ptr ptr long)
@ stub GdipComment
@ stdcall GdipConvertToEmfPlus(ptr ptr ptr long ptr ptr)
@ stub GdipConvertToEmfPlusToFile
...
...
@@ -125,8 +125,8 @@
@ stdcall GdipCreateRegion(ptr)
@ stub GdipCreateRegionHrgn
@ stdcall GdipCreateRegionPath(ptr ptr)
@ st
ub GdipCreateRegionRect
@ st
ub GdipCreateRegionRectI
@ st
dcall GdipCreateRegionRect(ptr ptr)
@ st
dcall GdipCreateRegionRectI(ptr ptr)
@ stub GdipCreateRegionRgnData
@ stdcall GdipCreateSolidFill(long ptr)
@ stdcall GdipCreateStreamOnFile(ptr long ptr)
...
...
@@ -377,8 +377,8 @@
@ stub GdipGetPropertySize
@ stub GdipGetRegionBounds
@ stub GdipGetRegionBoundsI
@ st
ub GdipGetRegionData
@ st
ub GdipGetRegionDataSize
@ st
dcall GdipGetRegionData(ptr ptr long ptr)
@ st
dcall GdipGetRegionDataSize(ptr ptr)
@ stdcall GdipGetRegionHRgn(ptr ptr ptr)
@ stub GdipGetRegionScans
@ stub GdipGetRegionScansCount
...
...
dlls/gdiplus/region.c
View file @
0ea97b5f
...
...
@@ -67,6 +67,27 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdiplus);
*
*/
GpStatus
WINGDIPAPI
GdipCombineRegionRect
(
GpRegion
*
region
,
GDIPCONST
GpRectF
*
rect
,
CombineMode
mode
)
{
FIXME
(
"(%p %p %d): stub
\n
"
,
region
,
rect
,
mode
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipCombineRegionRectI
(
GpRegion
*
region
,
GDIPCONST
GpRect
*
rect
,
CombineMode
mode
)
{
FIXME
(
"(%p %p %d): stub
\n
"
,
region
,
rect
,
mode
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipCombineRegionRegion
(
GpRegion
*
region1
,
GpRegion
*
region2
,
CombineMode
mode
)
{
FIXME
(
"(%p %p %d): stub
\n
"
,
region1
,
region2
,
mode
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipCreateRegion
(
GpRegion
**
region
)
{
FIXME
(
"(%p): stub
\n
"
,
region
);
...
...
@@ -83,12 +104,42 @@ GpStatus WINGDIPAPI GdipCreateRegionPath(GpPath *path, GpRegion **region)
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipCreateRegionRect
(
GDIPCONST
GpRectF
*
rect
,
GpRegion
**
region
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
rect
,
region
);
*
region
=
NULL
;
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipCreateRegionRectI
(
GDIPCONST
GpRect
*
rect
,
GpRegion
**
region
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
rect
,
region
);
*
region
=
NULL
;
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipDeleteRegion
(
GpRegion
*
region
)
{
FIXME
(
"(%p): stub
\n
"
,
region
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipGetRegionData
(
GpRegion
*
region
,
BYTE
*
buffer
,
UINT
size
,
UINT
*
needed
)
{
FIXME
(
"(%p, %p, %d, %p): stub
\n
"
,
region
,
buffer
,
size
,
needed
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipGetRegionDataSize
(
GpRegion
*
region
,
UINT
*
needed
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
region
,
needed
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipGetRegionHRgn
(
GpRegion
*
region
,
GpGraphics
*
graphics
,
HRGN
*
hrgn
)
{
FIXME
(
"(%p, %p, %p): stub
\n
"
,
region
,
graphics
,
hrgn
);
...
...
include/gdiplusflat.h
View file @
0ea97b5f
...
...
@@ -389,9 +389,16 @@ GpStatus WINGDIPAPI GdipCloneStringFormat(GDIPCONST GpStringFormat*,GpStringForm
GpStatus
WINGDIPAPI
GdipGetDpiX
(
GpGraphics
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipGetDpiY
(
GpGraphics
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipCombineRegionRect
(
GpRegion
*
,
GDIPCONST
GpRectF
*
,
CombineMode
);
GpStatus
WINGDIPAPI
GdipCombineRegionRectI
(
GpRegion
*
,
GDIPCONST
GpRect
*
,
CombineMode
);
GpStatus
WINGDIPAPI
GdipCombineRegionRegion
(
GpRegion
*
,
GpRegion
*
,
CombineMode
);
GpStatus
WINGDIPAPI
GdipCreateRegion
(
GpRegion
**
);
GpStatus
WINGDIPAPI
GdipCreateRegionPath
(
GpPath
*
,
GpRegion
**
);
GpStatus
WINGDIPAPI
GdipCreateRegionRect
(
GDIPCONST
GpRectF
*
,
GpRegion
**
);
GpStatus
WINGDIPAPI
GdipCreateRegionRectI
(
GDIPCONST
GpRect
*
,
GpRegion
**
);
GpStatus
WINGDIPAPI
GdipDeleteRegion
(
GpRegion
*
);
GpStatus
WINGDIPAPI
GdipGetRegionData
(
GpRegion
*
,
BYTE
*
,
UINT
,
UINT
*
);
GpStatus
WINGDIPAPI
GdipGetRegionDataSize
(
GpRegion
*
,
UINT
*
);
GpStatus
WINGDIPAPI
GdipGetRegionHRgn
(
GpRegion
*
,
GpGraphics
*
,
HRGN
*
);
GpStatus
WINGDIPAPI
GdipSetEmpty
(
GpRegion
*
);
GpStatus
WINGDIPAPI
GdipSetInfinite
(
GpRegion
*
);
...
...
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