Use GSsetalpha

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14864 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2002-10-29 03:48:13 +00:00
parent 3f34ecf70f
commit aed8c14a4d
2 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2002-10-28 Adam Fedor <fedor@gnu.org>
* Source/gsc/GSStreamContext.m (-DPSsetalpha:): Use GSsetalpha
as defined in frontend, for printers that don't support setalpha.
2002-10-27 Adam Fedor <fedor@gnu.org>
* Tools/font_cacher.m: Add @end (Reported by Caba Conti

View file

@ -95,7 +95,9 @@
- (void) DPSsetalpha: (float)a
{
[super DPSsetalpha: a];
fprintf(gstream, "%g setalpha\n", a);
/* This needs to be defined base on the the language level, etc. in
the Prolog section. */
fprintf(gstream, "%g GSsetalpha\n", a);
}
- (void) DPSsetcmykcolor: (float)c : (float)m : (float)y : (float)k
@ -555,12 +557,12 @@
/* ----------------------------------------------------------------------- */
/* Client functions */
/* ----------------------------------------------------------------------- */
- (void) DPSPrintf: (char *)fmt : (va_list)args
- (void) DPSPrintf: (const char *)fmt : (va_list)args
{
vfprintf(gstream, fmt, args);
}
- (void) DPSWriteData: (char *)buf : (unsigned int)count
- (void) DPSWriteData: (const char *)buf : (unsigned int)count
{
/* Not sure here. Should we translate to ASCII if it's not
already? */