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
45705011
Commit
45705011
authored
Aug 24, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added a test for GdipGetDC/GdipReleaseDC behaviour + fixes to be able to run it.
parent
ac23eb79
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
3 deletions
+18
-3
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+2
-2
graphics.c
dlls/gdiplus/graphics.c
+10
-1
graphics.c
dlls/gdiplus/tests/graphics.c
+0
-0
gdiplusflat.h
include/gdiplusflat.h
+6
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
45705011
...
...
@@ -213,8 +213,8 @@
@ stub GdipEnumerateMetafileSrcRectDestPointsI
@ stub GdipEnumerateMetafileSrcRectDestRect
@ stub GdipEnumerateMetafileSrcRectDestRectI
@ stdcall GdipFillClosedCurve2(ptr ptr ptr long long)
@ stdcall GdipFillClosedCurve2I(ptr ptr ptr long long)
@ stdcall GdipFillClosedCurve2(ptr ptr ptr long long
long
)
@ stdcall GdipFillClosedCurve2I(ptr ptr ptr long long
long
)
@ stub GdipFillClosedCurve
@ stub GdipFillClosedCurveI
@ stdcall GdipFillEllipse(ptr ptr long long long long)
...
...
dlls/gdiplus/graphics.c
View file @
45705011
...
...
@@ -2584,7 +2584,7 @@ GpStatus WINGDIPAPI GdipSetClipRegion(GpGraphics *graphics, GpRegion *region,
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipSetMetafileDownLevelRasterizationLimit
(
Gp
Graphics
*
graphics
,
GpStatus
WINGDIPAPI
GdipSetMetafileDownLevelRasterizationLimit
(
Gp
Metafile
*
metafile
,
UINT
limitDpi
)
{
static
int
calls
;
...
...
@@ -2681,6 +2681,9 @@ GpStatus WINGDIPAPI GdipGetDC(GpGraphics *graphics, HDC *hdc)
{
FIXME
(
"(%p, %p): stub
\n
"
,
graphics
,
hdc
);
if
(
!
graphics
||
!
hdc
)
return
InvalidParameter
;
*
hdc
=
NULL
;
return
NotImplemented
;
}
...
...
@@ -2689,6 +2692,12 @@ GpStatus WINGDIPAPI GdipReleaseDC(GpGraphics *graphics, HDC hdc)
{
FIXME
(
"(%p, %p): stub
\n
"
,
graphics
,
hdc
);
if
(
!
graphics
)
return
InvalidParameter
;
if
(
graphics
->
hdc
!=
hdc
)
return
InvalidParameter
;
return
NotImplemented
;
}
...
...
dlls/gdiplus/tests/graphics.c
View file @
45705011
This diff is collapsed.
Click to expand it.
include/gdiplusflat.h
View file @
45705011
...
...
@@ -100,6 +100,8 @@ GpStatus WINGDIPAPI GdipDrawCurve(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
GpStatus
WINGDIPAPI
GdipDrawCurveI
(
GpGraphics
*
,
GpPen
*
,
GDIPCONST
GpPoint
*
,
INT
);
GpStatus
WINGDIPAPI
GdipDrawCurve2
(
GpGraphics
*
,
GpPen
*
,
GDIPCONST
GpPointF
*
,
INT
,
REAL
);
GpStatus
WINGDIPAPI
GdipDrawCurve2I
(
GpGraphics
*
,
GpPen
*
,
GDIPCONST
GpPoint
*
,
INT
,
REAL
);
GpStatus
WINGDIPAPI
GdipDrawEllipse
(
GpGraphics
*
,
GpPen
*
,
REAL
,
REAL
,
REAL
,
REAL
);
GpStatus
WINGDIPAPI
GdipDrawEllipseI
(
GpGraphics
*
,
GpPen
*
,
INT
,
INT
,
INT
,
INT
);
GpStatus
WINGDIPAPI
GdipDrawImage
(
GpGraphics
*
,
GpImage
*
,
REAL
,
REAL
);
GpStatus
WINGDIPAPI
GdipDrawImageI
(
GpGraphics
*
,
GpImage
*
,
INT
,
INT
);
GpStatus
WINGDIPAPI
GdipDrawImagePointsRect
(
GpGraphics
*
,
GpImage
*
,
...
...
@@ -511,6 +513,10 @@ GpStatus WINGDIPAPI GdipTranslateRegion(GpRegion *, REAL, REAL);
GpStatus
WINGDIPAPI
GdipTranslateRegionI
(
GpRegion
*
,
INT
,
INT
);
GpStatus
WINGDIPAPI
GdipFlush
(
GpGraphics
*
,
GpFlushIntention
);
GpStatus
WINGDIPAPI
GdipSetMetafileDownLevelRasterizationLimit
(
GpMetafile
*
,
UINT
);
GpStatus
WINGDIPAPI
GdipSetClipRectI
(
GpGraphics
*
,
INT
,
INT
,
INT
,
INT
,
CombineMode
);
GpStatus
WINGDIPAPI
GdipFillRegion
(
GpGraphics
*
,
GpBrush
*
,
GpRegion
*
);
#ifdef __cplusplus
}
...
...
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