* Source/gsc/GSStreamContext.m: Add back implementation for

DPSrectclip::::.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26337 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2008-03-18 01:02:41 +00:00
parent 7f2c788745
commit f34d954492
2 changed files with 7 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2008-03-17 21:01-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/gsc/GSStreamContext.m: Add back implementation for
DPSrectclip::::.
2008-03-15 19:35-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/gsc/GSStreamContext.m: Correct call in NSDrawBitmap::::...

View file

@ -635,14 +635,11 @@ fpfloat(FILE *stream, float f)
- (void) DPSrectclip: (float)x : (float)y : (float)w : (float)h
{
// Do nothing.
/*
fpfloat(gstream, x);
fpfloat(gstream, y);
fpfloat(gstream, w);
fpfloat(gstream, h);
fprintf(gstream, "rectclip\n");
*/
}
- (void) DPSrectfill: (float)x : (float)y : (float)w : (float)h
@ -832,7 +829,7 @@ fpfloat(FILE *stream, float f)
if([image isKindOfClass: [NSBitmapImageRep class]])
{
fprintf(gstream,"%% BeginImage\n");
fprintf(gstream,"%%%% BeginImage\n");
[image getBitmapDataPlanes: imagePlanes];
[self NSDrawBitmap: rect
: [image pixelsWide]
@ -845,7 +842,7 @@ fpfloat(FILE *stream, float f)
: [image hasAlpha]
: [image colorSpaceName]
: (const unsigned char **)imagePlanes];
fprintf(gstream,"%% EndImage\n");
fprintf(gstream,"%%%% EndImage\n");
}
}