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
bfffb4f4
Commit
bfffb4f4
authored
Dec 23, 2007
by
Stefan Leichter
Committed by
Alexandre Julliard
Dec 23, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Partly implement GdipCreateFromHDC2
parent
ca4d35fe
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
graphics.c
dlls/gdiplus/graphics.c
+10
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
bfffb4f4
...
...
@@ -89,7 +89,7 @@
@ stub GdipCreateFontFromDC
@ stdcall GdipCreateFontFromLogfontA(ptr ptr ptr)
@ stdcall GdipCreateFontFromLogfontW(ptr ptr ptr)
@ st
ub GdipCreateFromHDC2
@ st
dcall GdipCreateFromHDC2(long long ptr)
@ stdcall GdipCreateFromHDC(long ptr)
@ stdcall GdipCreateFromHWND(long ptr)
@ stub GdipCreateFromHWNDICM
...
...
dlls/gdiplus/graphics.c
View file @
bfffb4f4
...
...
@@ -745,8 +745,18 @@ end:
GpStatus
WINGDIPAPI
GdipCreateFromHDC
(
HDC
hdc
,
GpGraphics
**
graphics
)
{
return
GdipCreateFromHDC2
(
hdc
,
NULL
,
graphics
);
}
GpStatus
WINGDIPAPI
GdipCreateFromHDC2
(
HDC
hdc
,
HANDLE
hDevice
,
GpGraphics
**
graphics
)
{
GpStatus
retval
;
if
(
hDevice
!=
NULL
)
{
FIXME
(
"Don't know how to hadle parameter hDevice
\n
"
);
return
NotImplemented
;
}
if
(
hdc
==
NULL
)
return
OutOfMemory
;
...
...
include/gdiplusflat.h
View file @
bfffb4f4
...
...
@@ -51,6 +51,7 @@ GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen*,GpLineCap);
GpStatus
WINGDIPAPI
GdipSetPenWidth
(
GpPen
*
,
REAL
);
GpStatus
WINGDIPAPI
GdipCreateFromHDC
(
HDC
,
GpGraphics
**
);
GpStatus
WINGDIPAPI
GdipCreateFromHDC2
(
HDC
,
HANDLE
,
GpGraphics
**
);
GpStatus
WINGDIPAPI
GdipCreateFromHWND
(
HWND
,
GpGraphics
**
);
GpStatus
WINGDIPAPI
GdipCreateLineBrush
(
GDIPCONST
GpPointF
*
,
GDIPCONST
GpPointF
*
,
ARGB
,
ARGB
,
GpWrapMode
,
GpLineGradient
**
);
...
...
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