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
f0c99e01
Commit
f0c99e01
authored
Oct 08, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Oct 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Add some hatch brushes not present in gdi.
parent
bd86e279
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
brush.c
dlls/gdiplus/brush.c
+24
-0
No files found.
dlls/gdiplus/brush.c
View file @
f0c99e01
...
...
@@ -184,6 +184,30 @@ static const char HatchBrushes[][8] = {
{
0x80
,
0x40
,
0x20
,
0x10
,
0x08
,
0x04
,
0x02
,
0x01
},
/* HatchStyleBackwardDiagonal */
{
0x08
,
0x08
,
0x08
,
0xff
,
0x08
,
0x08
,
0x08
,
0x08
},
/* HatchStyleCross */
{
0x81
,
0x42
,
0x24
,
0x18
,
0x18
,
0x24
,
0x42
,
0x81
},
/* HatchStyleDiagonalCross */
{
0x00
,
0x00
,
0x00
,
0x08
,
0x00
,
0x00
,
0x00
,
0x80
},
/* HatchStyle05Percent */
{
0x00
,
0x02
,
0x00
,
0x88
,
0x00
,
0x20
,
0x00
,
0x88
},
/* HatchStyle10Percent */
{
0x00
,
0x22
,
0x00
,
0xcc
,
0x00
,
0x22
,
0x00
,
0xcc
},
/* HatchStyle20Percent */
{
0x00
,
0xcc
,
0x00
,
0xcc
,
0x00
,
0xcc
,
0x00
,
0xcc
},
/* HatchStyle25Percent */
{
0x00
,
0xcc
,
0x04
,
0xcc
,
0x00
,
0xcc
,
0x40
,
0xcc
},
/* HatchStyle30Percent */
{
0x44
,
0xcc
,
0x22
,
0xcc
,
0x44
,
0xcc
,
0x22
,
0xcc
},
/* HatchStyle40Percent */
{
0x55
,
0xcc
,
0x55
,
0xcc
,
0x55
,
0xcc
,
0x55
,
0xcc
},
/* HatchStyle50Percent */
{
0x55
,
0xcd
,
0x55
,
0xee
,
0x55
,
0xdc
,
0x55
,
0xee
},
/* HatchStyle60Percent */
{
0x55
,
0xdd
,
0x55
,
0xff
,
0x55
,
0xdd
,
0x55
,
0xff
},
/* HatchStyle70Percent */
{
0x55
,
0xff
,
0x55
,
0xff
,
0x55
,
0xff
,
0x55
,
0xff
},
/* HatchStyle75Percent */
{
0x55
,
0xff
,
0x59
,
0xff
,
0x55
,
0xff
,
0x99
,
0xff
},
/* HatchStyle80Percent */
{
0x77
,
0xff
,
0xdd
,
0xff
,
0x77
,
0xff
,
0xfd
,
0xff
},
/* HatchStyle90Percent */
{
0x11
,
0x22
,
0x44
,
0x88
,
0x11
,
0x22
,
0x44
,
0x88
},
/* HatchStyleLightDownwardDiagonal */
{
0x88
,
0x44
,
0x22
,
0x11
,
0x88
,
0x44
,
0x22
,
0x11
},
/* HatchStyleLightUpwardDiagonal */
{
0x99
,
0x33
,
0x66
,
0xcc
,
0x99
,
0x33
,
0x66
,
0xcc
},
/* HatchStyleDarkDownwardDiagonal */
{
0xcc
,
0x66
,
0x33
,
0x99
,
0xcc
,
0x66
,
0x33
,
0x99
},
/* HatchStyleDarkUpwardDiagonal */
{
0xc1
,
0x83
,
0x07
,
0x0e
,
0x1c
,
0x38
,
0x70
,
0xe0
},
/* HatchStyleWideDownwardDiagonal */
{
0xe0
,
0x70
,
0x38
,
0x1c
,
0x0e
,
0x07
,
0x83
,
0xc1
},
/* HatchStyleWideUpwardDiagonal */
{
0x88
,
0x88
,
0x88
,
0x88
,
0x88
,
0x88
,
0x88
,
0x88
},
/* HatchStyleLightVertical */
{
0x00
,
0x00
,
0x00
,
0xff
,
0x00
,
0x00
,
0x00
,
0xff
},
/* HatchStyleLightHorizontal */
{
0xaa
,
0xaa
,
0xaa
,
0xaa
,
0xaa
,
0xaa
,
0xaa
,
0xaa
},
/* HatchStyleNarrowVertical */
{
0x00
,
0xff
,
0x00
,
0xff
,
0x00
,
0xff
,
0x00
,
0xff
},
/* HatchStyleNarrowHorizontal */
{
0xcc
,
0xcc
,
0xcc
,
0xcc
,
0xcc
,
0xcc
,
0xcc
,
0xcc
},
/* HatchStyleDarkVertical */
{
0x00
,
0x00
,
0xff
,
0xff
,
0x00
,
0x00
,
0xff
,
0xff
},
/* HatchStyleDarkHorizontal */
};
/******************************************************************************
...
...
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