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
10637b4f
Commit
10637b4f
authored
Jan 10, 2009
by
Chris Wulff
Committed by
Alexandre Julliard
Jan 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implement hatch brush accessor functions.
parent
a2a94a49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
3 deletions
+36
-3
brush.c
dlls/gdiplus/brush.c
+33
-0
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+3
-3
No files found.
dlls/gdiplus/brush.c
View file @
10637b4f
...
...
@@ -717,6 +717,39 @@ GpStatus WINGDIPAPI GdipGetBrushType(GpBrush *brush, GpBrushType *type)
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetHatchBackgroundColor
(
GpHatch
*
brush
,
ARGB
*
backcol
)
{
TRACE
(
"(%p, %p)
\n
"
,
brush
,
backcol
);
if
(
!
brush
||
!
backcol
)
return
InvalidParameter
;
*
backcol
=
brush
->
backcol
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetHatchForegroundColor
(
GpHatch
*
brush
,
ARGB
*
forecol
)
{
TRACE
(
"(%p, %p)
\n
"
,
brush
,
forecol
);
if
(
!
brush
||
!
forecol
)
return
InvalidParameter
;
*
forecol
=
brush
->
forecol
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetHatchStyle
(
GpHatch
*
brush
,
HatchStyle
*
hatchstyle
)
{
TRACE
(
"(%p, %p)
\n
"
,
brush
,
hatchstyle
);
if
(
!
brush
||
!
hatchstyle
)
return
InvalidParameter
;
*
hatchstyle
=
brush
->
hatchstyle
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipDeleteBrush
(
GpBrush
*
brush
)
{
TRACE
(
"(%p)
\n
"
,
brush
);
...
...
dlls/gdiplus/gdiplus.spec
View file @
10637b4f
...
...
@@ -275,9 +275,9 @@
@ stdcall GdipGetGenericFontFamilyMonospace(ptr)
@ stdcall GdipGetGenericFontFamilySansSerif(ptr)
@ stdcall GdipGetGenericFontFamilySerif(ptr)
@ st
ub GdipGetHatchBackgroundColor
@ st
ub GdipGetHatchForegroundColor
@ st
ub GdipGetHatchStyle
@ st
dcall GdipGetHatchBackgroundColor(ptr ptr)
@ st
dcall GdipGetHatchForegroundColor(ptr ptr)
@ st
dcall GdipGetHatchStyle(ptr ptr)
@ stub GdipGetHemfFromMetafile
@ stub GdipGetImageAttributesAdjustedPalette
@ stdcall GdipGetImageBounds(ptr ptr ptr)
...
...
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