diff --git a/ChangeLog b/ChangeLog index 572925c..df31d74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 * Source/xlib/XGFontSetFontInfo.m (-drawGlyphs:length:onDisplay:drawable:with:at:], [-widthOfGlyphs:length:]): Fix spelling of length diff --git a/Source/gsc/GSStreamContext.m b/Source/gsc/GSStreamContext.m index 2e434e9..25a1a28 100644 --- a/Source/gsc/GSStreamContext.m +++ b/Source/gsc/GSStreamContext.m @@ -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])]; } /* ----------------------------------------------------------------------- */