mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
* Source/winlib/WIN32GState.m (-_paintPath:) Only draw when the
fill/stroke colour has a non zero alpha. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28391 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6bede4e873
commit
ca9b424b59
2 changed files with 19 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-07-13 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/winlib/WIN32GState.m (-_paintPath:) Only draw when the
|
||||
fill/stroke colour has a non zero alpha.
|
||||
|
||||
2009-07-10 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/cairo/CairoGState.m
|
||||
|
|
|
@ -723,15 +723,24 @@ HBITMAP GSCreateBitmap(HDC hDC, int pixelsWide, int pixelsHigh,
|
|||
switch (drawType)
|
||||
{
|
||||
case path_stroke:
|
||||
StrokePath(hDC);
|
||||
if (strokeColor.field[AINDEX] != 0.0)
|
||||
{
|
||||
StrokePath(hDC);
|
||||
}
|
||||
break;
|
||||
case path_eofill:
|
||||
SetPolyFillMode(hDC, ALTERNATE);
|
||||
FillPath(hDC);
|
||||
if (fillColor.field[AINDEX] != 0.0)
|
||||
{
|
||||
SetPolyFillMode(hDC, ALTERNATE);
|
||||
FillPath(hDC);
|
||||
}
|
||||
break;
|
||||
case path_fill:
|
||||
SetPolyFillMode(hDC, WINDING);
|
||||
FillPath(hDC);
|
||||
if (fillColor.field[AINDEX] != 0.0)
|
||||
{
|
||||
SetPolyFillMode(hDC, WINDING);
|
||||
FillPath(hDC);
|
||||
}
|
||||
break;
|
||||
case path_eoclip:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue