Revert last change as gui is fixed now.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33305 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2011-06-14 22:27:58 +00:00
parent 5a950060d0
commit 084e5ade90
4 changed files with 8 additions and 19 deletions

View file

@ -1,3 +1,10 @@
2011-06-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/cairo/CairoContext.m (-supportsDrawGState),
* Headers/cairo/CairoGState.h (-supportsDrawGState)
* Source/cairo/CairoGState.m (-supportsDrawGState): Revert last
change as gui is fixed now.
2011-06-13 Fred Kiefer <FredKiefer@gmx.de>
* Source/cairo/CairoContext.m (-supportsDrawGState): Delegate to gstate.

View file

@ -44,7 +44,6 @@
- (void) GSSetSurface: (CairoSurface *)surface : (int)x : (int)y;
- (void) showPage;
- (BOOL) supportsDrawGState;
@end
#endif

View file

@ -98,7 +98,7 @@
- (BOOL) supportsDrawGState
{
return [CGSTATE supportsDrawGState];
return YES;
}
- (void) flushGraphics

View file

@ -1400,23 +1400,6 @@ _set_op(cairo_t *ct, NSCompositingOperation op)
cairo_restore(_ct);
}
- (BOOL) supportsDrawGState
{
#if CAIRO_VERSION > CAIRO_VERSION_ENCODE(1, 4, 0)
cairo_rectangle_list_t *clip_rects;
cairo_status_t status;
clip_rects = cairo_copy_clip_rectangle_list(_ct);
status = clip_rects->status;
cairo_rectangle_list_destroy(clip_rects);
if (status == CAIRO_STATUS_SUCCESS)
{
return YES;
}
#endif
return NO;
}
/** Unlike -compositeGState, -drawGSstate fully respects the AppKit CTM but
doesn't support to use the receiver cairo target as the source. */
- (void) drawGState: (CairoGState *)source