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
3ecb8bdd
Commit
3ecb8bdd
authored
Sep 26, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Stubs for GdipIsVisiblePoint/GdipIsVisiblePointI.
parent
e2817e59
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
2 deletions
+35
-2
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+2
-2
graphics.c
dlls/gdiplus/graphics.c
+26
-0
graphics.c
dlls/gdiplus/tests/graphics.c
+5
-0
gdiplusflat.h
include/gdiplusflat.h
+2
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
3ecb8bdd
...
@@ -427,8 +427,8 @@
...
@@ -427,8 +427,8 @@
@ stub GdipIsVisibleClipEmpty
@ stub GdipIsVisibleClipEmpty
@ stdcall GdipIsVisiblePathPoint(ptr long long ptr ptr)
@ stdcall GdipIsVisiblePathPoint(ptr long long ptr ptr)
@ stdcall GdipIsVisiblePathPointI(ptr long long ptr ptr)
@ stdcall GdipIsVisiblePathPointI(ptr long long ptr ptr)
@ st
ub GdipIsVisiblePoint
@ st
dcall GdipIsVisiblePoint(ptr long long ptr)
@ st
ub GdipIsVisiblePointI
@ st
dcall GdipIsVisiblePointI(ptr long long ptr)
@ stub GdipIsVisibleRect
@ stub GdipIsVisibleRect
@ stub GdipIsVisibleRectI
@ stub GdipIsVisibleRectI
@ stub GdipIsVisibleRegionPoint
@ stub GdipIsVisibleRegionPoint
...
...
dlls/gdiplus/graphics.c
View file @
3ecb8bdd
...
@@ -2583,6 +2583,32 @@ GpStatus WINGDIPAPI GdipIsClipEmpty(GpGraphics *graphics, BOOL *res)
...
@@ -2583,6 +2583,32 @@ GpStatus WINGDIPAPI GdipIsClipEmpty(GpGraphics *graphics, BOOL *res)
return
GdipIsEmptyRegion
(
graphics
->
clip
,
graphics
,
res
);
return
GdipIsEmptyRegion
(
graphics
->
clip
,
graphics
,
res
);
}
}
GpStatus
WINGDIPAPI
GdipIsVisiblePoint
(
GpGraphics
*
graphics
,
REAL
x
,
REAL
y
,
BOOL
*
result
)
{
FIXME
(
"(%p, %.2f, %.2f, %p) stub
\n
"
,
graphics
,
x
,
y
,
result
);
if
(
!
graphics
||
!
result
)
return
InvalidParameter
;
if
(
graphics
->
busy
)
return
ObjectBusy
;
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipIsVisiblePointI
(
GpGraphics
*
graphics
,
INT
x
,
INT
y
,
BOOL
*
result
)
{
FIXME
(
"(%p, %d, %d, %p) stub
\n
"
,
graphics
,
x
,
y
,
result
);
if
(
!
graphics
||
!
result
)
return
InvalidParameter
;
if
(
graphics
->
busy
)
return
ObjectBusy
;
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipMeasureCharacterRanges
(
GpGraphics
*
graphics
,
GpStatus
WINGDIPAPI
GdipMeasureCharacterRanges
(
GpGraphics
*
graphics
,
GDIPCONST
WCHAR
*
string
,
INT
length
,
GDIPCONST
GpFont
*
font
,
GDIPCONST
WCHAR
*
string
,
INT
length
,
GDIPCONST
GpFont
*
font
,
GDIPCONST
RectF
*
layoutRect
,
GDIPCONST
GpStringFormat
*
stringFormat
,
GDIPCONST
RectF
*
layoutRect
,
GDIPCONST
GpStringFormat
*
stringFormat
,
...
...
dlls/gdiplus/tests/graphics.c
View file @
3ecb8bdd
...
@@ -487,6 +487,7 @@ static void test_Get_Release_DC(void)
...
@@ -487,6 +487,7 @@ static void test_Get_Release_DC(void)
GpRect
rect
[
2
];
GpRect
rect
[
2
];
GpRegion
*
clip
;
GpRegion
*
clip
;
INT
i
;
INT
i
;
BOOL
res
;
pt
[
0
].
X
=
10
;
pt
[
0
].
X
=
10
;
pt
[
0
].
Y
=
10
;
pt
[
0
].
Y
=
10
;
...
@@ -674,6 +675,10 @@ static void test_Get_Release_DC(void)
...
@@ -674,6 +675,10 @@ static void test_Get_Release_DC(void)
expect
(
ObjectBusy
,
status
);
status
=
Ok
;
expect
(
ObjectBusy
,
status
);
status
=
Ok
;
status
=
GdipGraphicsClear
(
graphics
,
0xdeadbeef
);
status
=
GdipGraphicsClear
(
graphics
,
0xdeadbeef
);
expect
(
ObjectBusy
,
status
);
status
=
Ok
;
expect
(
ObjectBusy
,
status
);
status
=
Ok
;
status
=
GdipIsVisiblePoint
(
graphics
,
0
.
0
,
0
.
0
,
&
res
);
expect
(
ObjectBusy
,
status
);
status
=
Ok
;
status
=
GdipIsVisiblePointI
(
graphics
,
0
,
0
,
&
res
);
expect
(
ObjectBusy
,
status
);
status
=
Ok
;
/* GdipMeasureCharacterRanges */
/* GdipMeasureCharacterRanges */
/* GdipMeasureString */
/* GdipMeasureString */
status
=
GdipResetClip
(
graphics
);
status
=
GdipResetClip
(
graphics
);
...
...
include/gdiplusflat.h
View file @
3ecb8bdd
...
@@ -537,6 +537,8 @@ GpStatus WINGDIPAPI GdipSetClipPath(GpGraphics*,GpPath*,CombineMode);
...
@@ -537,6 +537,8 @@ GpStatus WINGDIPAPI GdipSetClipPath(GpGraphics*,GpPath*,CombineMode);
GpStatus
WINGDIPAPI
GdipSetClipRect
(
GpGraphics
*
,
REAL
,
REAL
,
REAL
,
REAL
,
CombineMode
);
GpStatus
WINGDIPAPI
GdipSetClipRect
(
GpGraphics
*
,
REAL
,
REAL
,
REAL
,
REAL
,
CombineMode
);
GpStatus
WINGDIPAPI
GdipSetClipRectI
(
GpGraphics
*
,
INT
,
INT
,
INT
,
INT
,
CombineMode
);
GpStatus
WINGDIPAPI
GdipSetClipRectI
(
GpGraphics
*
,
INT
,
INT
,
INT
,
INT
,
CombineMode
);
GpStatus
WINGDIPAPI
GdipFillRegion
(
GpGraphics
*
,
GpBrush
*
,
GpRegion
*
);
GpStatus
WINGDIPAPI
GdipFillRegion
(
GpGraphics
*
,
GpBrush
*
,
GpRegion
*
);
GpStatus
WINGDIPAPI
GdipIsVisiblePoint
(
GpGraphics
*
,
REAL
,
REAL
,
BOOL
*
);
GpStatus
WINGDIPAPI
GdipIsVisiblePointI
(
GpGraphics
*
,
INT
,
INT
,
BOOL
*
);
GpStatus
WINGDIPAPI
GdipCreateAdjustableArrowCap
(
REAL
,
REAL
,
BOOL
,
GpAdjustableArrowCap
**
);
GpStatus
WINGDIPAPI
GdipCreateAdjustableArrowCap
(
REAL
,
REAL
,
BOOL
,
GpAdjustableArrowCap
**
);
GpStatus
WINGDIPAPI
GdipGetAdjustableArrowCapFillState
(
GpAdjustableArrowCap
*
,
BOOL
*
);
GpStatus
WINGDIPAPI
GdipGetAdjustableArrowCapFillState
(
GpAdjustableArrowCap
*
,
BOOL
*
);
...
...
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