mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-24 04:11:28 +00:00
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:
parent
3f34ecf70f
commit
aed8c14a4d
2 changed files with 10 additions and 3 deletions
|
@ -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>
|
2002-10-27 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* Tools/font_cacher.m: Add @end (Reported by Caba Conti
|
* Tools/font_cacher.m: Add @end (Reported by Caba Conti
|
||||||
|
|
|
@ -95,7 +95,9 @@
|
||||||
- (void) DPSsetalpha: (float)a
|
- (void) DPSsetalpha: (float)a
|
||||||
{
|
{
|
||||||
[super DPSsetalpha: 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
|
- (void) DPSsetcmykcolor: (float)c : (float)m : (float)y : (float)k
|
||||||
|
@ -555,12 +557,12 @@
|
||||||
/* ----------------------------------------------------------------------- */
|
/* ----------------------------------------------------------------------- */
|
||||||
/* Client functions */
|
/* Client functions */
|
||||||
/* ----------------------------------------------------------------------- */
|
/* ----------------------------------------------------------------------- */
|
||||||
- (void) DPSPrintf: (char *)fmt : (va_list)args
|
- (void) DPSPrintf: (const char *)fmt : (va_list)args
|
||||||
{
|
{
|
||||||
vfprintf(gstream, fmt, 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
|
/* Not sure here. Should we translate to ASCII if it's not
|
||||||
already? */
|
already? */
|
||||||
|
|
Loading…
Reference in a new issue