Applied patch from Mark Tracy for GSStreamContext.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23876 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2006-10-15 15:17:58 +00:00
parent c38b381fb0
commit 912de01de3
2 changed files with 12 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2006-10-15 11:14-EDT Mark Tracy
* Source/gsc/GSStreamContext.m: GSStreamContext did not implement
GSRectFillList fix: copied code from GSGState.m.
Patch applied by Gregory Casamento
2006-10-12 Adam Fedor <fedor@gnu.org>
* Source/xlib/XGFontSetFontInfo.m (-drawGlyphs:length:onDisplay:drawable:with:at:], [-widthOfGlyphs:length:]): Fix spelling of length

View file

@ -675,9 +675,9 @@ fpfloat(FILE *stream, float f)
{
NSBezierPathElement type;
NSPoint pts[3];
int i, count;
int i, count = 10;
float pattern[10];
float phase;
float phase = 0.0;
[self DPSnewpath];
[self DPSsetlinewidth: [path lineWidth]];
@ -722,7 +722,10 @@ fpfloat(FILE *stream, float f)
- (void) GSRectFillList: (const NSRect *)rects: (int)count
{
[self notImplemented: _cmd];
int i;
for (i = 0; i < count; i++)
[self DPSrectfill: NSMinX(rects[i]) : NSMinY(rects[i])
: NSWidth(rects[i]) : NSHeight(rects[i])];
}
/* ----------------------------------------------------------------------- */