mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 23:42:16 +00:00
Set initial alpha
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13637 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
42c8624c96
commit
db677cc90c
2 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
(-DPSsethsbcolor:::):Idem.
|
||||
(-DPSsetrgbcolor:::):Idem.
|
||||
(-GSSetFontSize:): Use given size.
|
||||
(-initWithDrawContext:): Set initial alpha to 1.
|
||||
* Source/gsc/gscolors.c (gsHSBToRGB): Fix for h==1.
|
||||
(gsColorToCMYK): Implement.
|
||||
(gsColorToHSB): Idem. (Patches from alexander@malmberg.org).
|
||||
|
|
|
@ -83,7 +83,9 @@
|
|||
fillColorS = nil;
|
||||
strokeColorS = nil;
|
||||
fillColor = gsMakeColor(gray_colorspace, 0, 0, 0, 0);
|
||||
fillColor.field[AINDEX] = 1.0;
|
||||
strokeColor = gsMakeColor(gray_colorspace, 0, 0, 0, 0);
|
||||
strokeColor.field[AINDEX] = 1.0;
|
||||
|
||||
charSpacing = 0;
|
||||
textMode = GSTextFill;
|
||||
|
|
Loading…
Reference in a new issue