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
ddea5bd7
Commit
ddea5bd7
authored
Aug 07, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Aug 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipGetLineGammaCorrection/GdipSetLineGammaCorrection.
parent
48ae8ea5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
2 deletions
+28
-2
brush.c
dlls/gdiplus/brush.c
+23
-0
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+2
-2
gdiplus_private.h
dlls/gdiplus/gdiplus_private.h
+1
-0
gdiplusflat.h
include/gdiplusflat.h
+2
-0
No files found.
dlls/gdiplus/brush.c
View file @
ddea5bd7
...
...
@@ -102,6 +102,7 @@ GpStatus WINGDIPAPI GdipCreateLineBrush(GDIPCONST GpPointF* startpoint,
(
*
line
)
->
startcolor
=
startcolor
;
(
*
line
)
->
endcolor
=
endcolor
;
(
*
line
)
->
wrap
=
wrap
;
(
*
line
)
->
gamma
=
FALSE
;
return
Ok
;
}
...
...
@@ -246,6 +247,17 @@ GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush *brush)
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetLineGammaCorrection
(
GpLineGradient
*
line
,
BOOL
*
usinggamma
)
{
if
(
!
line
)
return
InvalidParameter
;
*
usinggamma
=
line
->
gamma
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetPathGradientCenterPoint
(
GpPathGradient
*
grad
,
GpPointF
*
point
)
{
...
...
@@ -316,6 +328,17 @@ GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill *sf, ARGB *argb)
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetLineGammaCorrection
(
GpLineGradient
*
line
,
BOOL
usegamma
)
{
if
(
!
line
)
return
InvalidParameter
;
line
->
gamma
=
usegamma
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetLineSigmaBlend
(
GpLineGradient
*
line
,
REAL
focus
,
REAL
scale
)
{
...
...
dlls/gdiplus/gdiplus.spec
View file @
ddea5bd7
...
...
@@ -303,7 +303,7 @@
@ stub GdipGetLineBlend
@ stub GdipGetLineBlendCount
@ stub GdipGetLineColors
@ st
ub GdipGetLineGammaCorrection
@ st
dcall GdipGetLineGammaCorrection(ptr ptr)
@ stub GdipGetLinePresetBlend
@ stub GdipGetLinePresetBlendCount
@ stub GdipGetLineRect
...
...
@@ -537,7 +537,7 @@
@ stdcall GdipSetInterpolationMode(ptr long)
@ stub GdipSetLineBlend
@ stub GdipSetLineColors
@ st
ub GdipSetLineGammaCorrection
@ st
dcall GdipSetLineGammaCorrection(ptr long)
@ stub GdipSetLineLinearBlend
@ stub GdipSetLinePresetBlend
@ stdcall GdipSetLineSigmaBlend(ptr long long)
...
...
dlls/gdiplus/gdiplus_private.h
View file @
ddea5bd7
...
...
@@ -111,6 +111,7 @@ struct GpLineGradient{
ARGB
startcolor
;
ARGB
endcolor
;
GpWrapMode
wrap
;
BOOL
gamma
;
};
struct
GpPath
{
...
...
include/gdiplusflat.h
View file @
ddea5bd7
...
...
@@ -99,6 +99,7 @@ GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath*,
GpStatus
WINGDIPAPI
GdipCreateSolidFill
(
ARGB
,
GpSolidFill
**
);
GpStatus
WINGDIPAPI
GdipDeleteBrush
(
GpBrush
*
);
GpStatus
WINGDIPAPI
GdipGetBrushType
(
GpBrush
*
,
GpBrushType
*
);
GpStatus
WINGDIPAPI
GdipGetLineGammaCorrection
(
GpLineGradient
*
,
BOOL
*
);
GpStatus
WINGDIPAPI
GdipGetPathGradientCenterPoint
(
GpPathGradient
*
,
GpPointF
*
);
GpStatus
WINGDIPAPI
GdipGetPathGradientFocusScales
(
GpPathGradient
*
,
REAL
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipGetPathGradientGammaCorrection
(
GpPathGradient
*
,
BOOL
*
);
...
...
@@ -106,6 +107,7 @@ GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient*,INT*);
GpStatus
WINGDIPAPI
GdipGetPathGradientSurroundColorsWithCount
(
GpPathGradient
*
,
ARGB
*
,
INT
*
);
GpStatus
WINGDIPAPI
GdipGetSolidFillColor
(
GpSolidFill
*
,
ARGB
*
);
GpStatus
WINGDIPAPI
GdipSetLineGammaCorrection
(
GpLineGradient
*
,
BOOL
);
GpStatus
WINGDIPAPI
GdipSetLineSigmaBlend
(
GpLineGradient
*
,
REAL
,
REAL
);
GpStatus
WINGDIPAPI
GdipSetLineWrapMode
(
GpLineGradient
*
,
GpWrapMode
);
GpStatus
WINGDIPAPI
GdipSetPathGradientCenterColor
(
GpPathGradient
*
,
ARGB
);
...
...
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