mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 11:51:27 +00:00
* 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:
parent
7f2c788745
commit
f34d954492
2 changed files with 7 additions and 5 deletions
|
@ -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::::...
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue