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
50bfa9b0
Commit
50bfa9b0
authored
Sep 03, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Stubs for AdjustableArrowCap calls.
parent
9c60a57a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
115 additions
and
9 deletions
+115
-9
customlinecap.c
dlls/gdiplus/customlinecap.c
+91
-0
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+9
-9
gdiplus_private.h
dlls/gdiplus/gdiplus_private.h
+4
-0
gdiplusflat.h
include/gdiplusflat.h
+9
-0
gdiplusgpstubs.h
include/gdiplusgpstubs.h
+2
-0
No files found.
dlls/gdiplus/customlinecap.c
View file @
50bfa9b0
...
...
@@ -233,3 +233,94 @@ GpStatus WINGDIPAPI GdipGetCustomLineCapBaseCap(GpCustomLineCap *customCap, GpLi
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipCreateAdjustableArrowCap
(
REAL
height
,
REAL
width
,
BOOL
fill
,
GpAdjustableArrowCap
**
cap
)
{
static
int
calls
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipGetAdjustableArrowCapFillState
(
GpAdjustableArrowCap
*
cap
,
BOOL
*
fill
)
{
static
int
calls
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipGetAdjustableArrowCapHeight
(
GpAdjustableArrowCap
*
cap
,
REAL
*
height
)
{
static
int
calls
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipGetAdjustableArrowCapMiddleInset
(
GpAdjustableArrowCap
*
cap
,
REAL
*
middle
)
{
static
int
calls
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipGetAdjustableArrowCapWidth
(
GpAdjustableArrowCap
*
cap
,
REAL
*
width
)
{
static
int
calls
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipSetAdjustableArrowCapFillState
(
GpAdjustableArrowCap
*
cap
,
BOOL
fill
)
{
static
int
calls
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipSetAdjustableArrowCapHeight
(
GpAdjustableArrowCap
*
cap
,
REAL
height
)
{
static
int
calls
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipSetAdjustableArrowCapMiddleInset
(
GpAdjustableArrowCap
*
cap
,
REAL
middle
)
{
static
int
calls
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipSetAdjustableArrowCapWidth
(
GpAdjustableArrowCap
*
cap
,
REAL
width
)
{
static
int
calls
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
dlls/gdiplus/gdiplus.spec
View file @
50bfa9b0
...
...
@@ -69,7 +69,7 @@
@ stdcall GdipConvertToEmfPlus(ptr ptr ptr long ptr ptr)
@ stub GdipConvertToEmfPlusToFile
@ stub GdipConvertToEmfPlusToStream
@ st
ub GdipCreateAdjustableArrowCap
@ st
dcall GdipCreateAdjustableArrowCap(long long long ptr)
@ stub GdipCreateBitmapFromDirectDrawSurface
@ stdcall GdipCreateBitmapFromFile(wstr ptr)
@ stdcall GdipCreateBitmapFromFileICM(wstr ptr)
...
...
@@ -236,10 +236,10 @@
@ stdcall GdipFlattenPath(ptr ptr long)
@ stdcall GdipFlush(ptr long)
@ stdcall GdipFree(ptr)
@ st
ub GdipGetAdjustableArrowCapFillState
@ st
ub GdipGetAdjustableArrowCapHeight
@ st
ub GdipGetAdjustableArrowCapMiddleInset
@ st
ub GdipGetAdjustableArrowCapWidth
@ st
dcall GdipGetAdjustableArrowCapFillState(ptr ptr)
@ st
dcall GdipGetAdjustableArrowCapHeight(ptr ptr)
@ st
dcall GdipGetAdjustableArrowCapMiddleInset(ptr ptr)
@ st
dcall GdipGetAdjustableArrowCapWidth(ptr ptr)
@ stub GdipGetAllPropertyItems
@ stdcall GdipGetBrushType(ptr ptr)
@ stdcall GdipGetCellAscent(ptr long ptr)
...
...
@@ -502,10 +502,10 @@
@ stub GdipScalePenTransform
@ stub GdipScaleTextureTransform
@ stdcall GdipScaleWorldTransform(ptr long long long)
@ st
ub GdipSetAdjustableArrowCapFillState
@ st
ub GdipSetAdjustableArrowCapHeight
@ st
ub GdipSetAdjustableArrowCapMiddleInset
@ st
ub GdipSetAdjustableArrowCapWidth
@ st
dcall GdipSetAdjustableArrowCapFillState(ptr long)
@ st
dcall GdipSetAdjustableArrowCapHeight(ptr long)
@ st
dcall GdipSetAdjustableArrowCapMiddleInset(ptr long)
@ st
dcall GdipSetAdjustableArrowCapWidth(ptr long)
@ stub GdipSetClipGraphics
@ stub GdipSetClipHrgn
@ stub GdipSetClipPath
...
...
dlls/gdiplus/gdiplus_private.h
View file @
50bfa9b0
...
...
@@ -167,6 +167,10 @@ struct GpCustomLineCap{
REAL
scale
;
};
struct
GpAdustableArrowCap
{
GpCustomLineCap
cap
;
};
struct
GpImage
{
IPicture
*
picture
;
ImageType
type
;
...
...
include/gdiplusflat.h
View file @
50bfa9b0
...
...
@@ -526,6 +526,15 @@ GpStatus WINGDIPAPI GdipSetMetafileDownLevelRasterizationLimit(GpMetafile*,UINT)
GpStatus
WINGDIPAPI
GdipSetClipRectI
(
GpGraphics
*
,
INT
,
INT
,
INT
,
INT
,
CombineMode
);
GpStatus
WINGDIPAPI
GdipFillRegion
(
GpGraphics
*
,
GpBrush
*
,
GpRegion
*
);
GpStatus
WINGDIPAPI
GdipCreateAdjustableArrowCap
(
REAL
,
REAL
,
BOOL
,
GpAdjustableArrowCap
**
);
GpStatus
WINGDIPAPI
GdipGetAdjustableArrowCapFillState
(
GpAdjustableArrowCap
*
,
BOOL
*
);
GpStatus
WINGDIPAPI
GdipGetAdjustableArrowCapHeight
(
GpAdjustableArrowCap
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipGetAdjustableArrowCapMiddleInset
(
GpAdjustableArrowCap
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipGetAdjustableArrowCapWidth
(
GpAdjustableArrowCap
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipSetAdjustableArrowCapFillState
(
GpAdjustableArrowCap
*
,
BOOL
);
GpStatus
WINGDIPAPI
GdipSetAdjustableArrowCapHeight
(
GpAdjustableArrowCap
*
,
REAL
);
GpStatus
WINGDIPAPI
GdipSetAdjustableArrowCapMiddleInset
(
GpAdjustableArrowCap
*
,
REAL
);
GpStatus
WINGDIPAPI
GdipSetAdjustableArrowCapWidth
(
GpAdjustableArrowCap
*
,
REAL
);
#ifdef __cplusplus
}
...
...
include/gdiplusgpstubs.h
View file @
50bfa9b0
...
...
@@ -28,6 +28,7 @@ class GpPath {};
class
GpMatrix
{};
class
GpPathIterator
{};
class
GpCustomLineCap
{};
class
GpAdjustableArrowCap
:
public
GpCustomLineCap
{};
class
GpImage
{};
class
GpMetafile
:
public
GpImage
{};
class
GpImageAttributes
{};
...
...
@@ -52,6 +53,7 @@ typedef struct GpPath GpPath;
typedef
struct
GpMatrix
GpMatrix
;
typedef
struct
GpPathIterator
GpPathIterator
;
typedef
struct
GpCustomLineCap
GpCustomLineCap
;
typedef
struct
GpAdjustableArrowCap
GpAdjustableArrowCap
;
typedef
struct
GpImage
GpImage
;
typedef
struct
GpMetafile
GpMetafile
;
typedef
struct
GpImageAttributes
GpImageAttributes
;
...
...
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