Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ec0ceeff
Commit
ec0ceeff
authored
Jun 12, 2000
by
Huw D M Davies
Committed by
Alexandre Julliard
Jun 12, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If printer only supports level 1 PostScript then complain rather than
trying to use a pattern color space. Thanks to David Goodenough.
parent
df8a69b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
brush.c
dlls/wineps/brush.c
+9
-4
No files found.
dlls/wineps/brush.c
View file @
ec0ceeff
...
...
@@ -122,6 +122,7 @@ static BOOL PSDRV_Clip(DC *dc, BOOL EO)
BOOL
PSDRV_Brush
(
DC
*
dc
,
BOOL
EO
)
{
BRUSHOBJ
*
brush
=
(
BRUSHOBJ
*
)
GDI_GetObjPtr
(
dc
->
w
.
hBrush
,
BRUSH_MAGIC
);
PSDRV_PDEVICE
*
physDev
=
dc
->
physDev
;
if
(
!
brush
)
{
ERR
(
"Can't get BRUSHOBJ
\n
"
);
...
...
@@ -204,11 +205,15 @@ BOOL PSDRV_Brush(DC *dc, BOOL EO)
GetBitmapBits
(
brush
->
logbrush
.
lbHatch
,
bm
.
bmWidthBytes
*
bm
.
bmHeight
,
bits
);
PSDRV_WriteGSave
(
dc
);
PSDRV_WritePatternDict
(
dc
,
&
bm
,
bits
);
if
(
physDev
->
pi
->
ppd
->
LanguageLevel
>
1
)
{
PSDRV_WriteGSave
(
dc
);
PSDRV_WritePatternDict
(
dc
,
&
bm
,
bits
);
PSDRV_Fill
(
dc
,
EO
);
PSDRV_WriteGRestore
(
dc
);
}
else
{
FIXME
(
"Trying to set a pattern brush on a level 1 printer
\n
"
);
}
HeapFree
(
PSDRV_Heap
,
0
,
bits
);
PSDRV_Fill
(
dc
,
EO
);
PSDRV_WriteGRestore
(
dc
);
return
TRUE
;
}
break
;
...
...
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