mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-31 17:31:33 +00:00
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:
parent
fb05d6c895
commit
26e096a1b5
4 changed files with 8 additions and 19 deletions
|
@ -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>
|
2011-06-13 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/cairo/CairoContext.m (-supportsDrawGState): Delegate to gstate.
|
* Source/cairo/CairoContext.m (-supportsDrawGState): Delegate to gstate.
|
||||||
|
|
|
@ -44,7 +44,6 @@
|
||||||
- (void) GSSetSurface: (CairoSurface *)surface : (int)x : (int)y;
|
- (void) GSSetSurface: (CairoSurface *)surface : (int)x : (int)y;
|
||||||
|
|
||||||
- (void) showPage;
|
- (void) showPage;
|
||||||
- (BOOL) supportsDrawGState;
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -98,7 +98,7 @@
|
||||||
|
|
||||||
- (BOOL) supportsDrawGState
|
- (BOOL) supportsDrawGState
|
||||||
{
|
{
|
||||||
return [CGSTATE supportsDrawGState];
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) flushGraphics
|
- (void) flushGraphics
|
||||||
|
|
|
@ -1400,23 +1400,6 @@ _set_op(cairo_t *ct, NSCompositingOperation op)
|
||||||
cairo_restore(_ct);
|
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
|
/** Unlike -compositeGState, -drawGSstate fully respects the AppKit CTM but
|
||||||
doesn't support to use the receiver cairo target as the source. */
|
doesn't support to use the receiver cairo target as the source. */
|
||||||
- (void) drawGState: (CairoGState *)source
|
- (void) drawGState: (CairoGState *)source
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue