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
3e59f9e2
Commit
3e59f9e2
authored
Jul 09, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Semi-stub for GdipCreateLineBrushFromRectWithAngle.
parent
23645144
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
2 deletions
+26
-2
brush.c
dlls/gdiplus/brush.c
+19
-0
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+2
-2
gdiplusflat.h
include/gdiplusflat.h
+5
-0
No files found.
dlls/gdiplus/brush.c
View file @
3e59f9e2
...
...
@@ -180,6 +180,25 @@ GpStatus WINGDIPAPI GdipCreateLineBrushFromRectI(GDIPCONST GpRect* rect,
return
GdipCreateLineBrushFromRect
(
&
rectF
,
startcolor
,
endcolor
,
mode
,
wrap
,
line
);
}
/* FIXME: angle value completely ignored. Don't know how to use it since native
always set Brush rectangle to rect (independetly of this angle).
Maybe it's used only on drawing. */
GpStatus
WINGDIPAPI
GdipCreateLineBrushFromRectWithAngle
(
GDIPCONST
GpRectF
*
rect
,
ARGB
startcolor
,
ARGB
endcolor
,
REAL
angle
,
BOOL
isAngleScalable
,
GpWrapMode
wrap
,
GpLineGradient
**
line
)
{
return
GdipCreateLineBrushFromRect
(
rect
,
startcolor
,
endcolor
,
LinearGradientModeForwardDiagonal
,
wrap
,
line
);
}
GpStatus
WINGDIPAPI
GdipCreateLineBrushFromRectWithAngleI
(
GDIPCONST
GpRect
*
rect
,
ARGB
startcolor
,
ARGB
endcolor
,
REAL
angle
,
BOOL
isAngleScalable
,
GpWrapMode
wrap
,
GpLineGradient
**
line
)
{
return
GdipCreateLineBrushFromRectI
(
rect
,
startcolor
,
endcolor
,
LinearGradientModeForwardDiagonal
,
wrap
,
line
);
}
GpStatus
WINGDIPAPI
GdipCreatePathGradient
(
GDIPCONST
GpPointF
*
points
,
INT
count
,
GpWrapMode
wrap
,
GpPathGradient
**
grad
)
{
...
...
dlls/gdiplus/gdiplus.spec
View file @
3e59f9e2
...
...
@@ -101,8 +101,8 @@
@ stdcall GdipCreateLineBrush(ptr ptr long long long ptr)
@ stdcall GdipCreateLineBrushFromRect(ptr long long long long ptr)
@ stdcall GdipCreateLineBrushFromRectI(ptr long long long long ptr)
@ st
ub GdipCreateLineBrushFromRectWithAngle
@ st
ub GdipCreateLineBrushFromRectWithAngleI
@ st
dcall GdipCreateLineBrushFromRectWithAngle(ptr long long long long long ptr)
@ st
dcall GdipCreateLineBrushFromRectWithAngleI(ptr long long long long long ptr)
@ stdcall GdipCreateLineBrushI(ptr ptr long long long ptr)
@ stdcall GdipCreateMatrix2(long long long long long long ptr)
@ stdcall GdipCreateMatrix3(ptr ptr ptr)
...
...
include/gdiplusflat.h
View file @
3e59f9e2
...
...
@@ -69,6 +69,11 @@ GpStatus WINGDIPAPI GdipCreateLineBrushFromRect(GDIPCONST GpRectF*,ARGB,ARGB,
LinearGradientMode
,
GpWrapMode
,
GpLineGradient
**
);
GpStatus
WINGDIPAPI
GdipCreateLineBrushFromRectI
(
GDIPCONST
GpRect
*
,
ARGB
,
ARGB
,
LinearGradientMode
,
GpWrapMode
,
GpLineGradient
**
);
GpStatus
WINGDIPAPI
GdipCreateLineBrushFromRectWithAngle
(
GDIPCONST
GpRectF
*
,
ARGB
,
ARGB
,
REAL
,
BOOL
,
GpWrapMode
,
GpLineGradient
**
);
GpStatus
WINGDIPAPI
GdipCreateLineBrushFromRectWithAngleI
(
GDIPCONST
GpRect
*
,
ARGB
,
ARGB
,
REAL
,
BOOL
,
GpWrapMode
,
GpLineGradient
**
);
GpStatus
WINGDIPAPI
GdipCreateMetafileFromEmf
(
HENHMETAFILE
,
BOOL
,
GpMetafile
**
);
GpStatus
WINGDIPAPI
GdipCreateMetafileFromWmf
(
HMETAFILE
,
BOOL
,
GDIPCONST
WmfPlaceableFileHeader
*
,
GpMetafile
**
);
...
...
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