Added new class methods [currentContextDrawingToScreen],

[graphicsContextWithAttributes:], [graphicsContextWithWindow:],
[restoreGraphicsState], [saveGraphicsState], [setGraphicsState:]
and new instance methods [attributes], [flushGraphics] and
[graphicsPort].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10650 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2001-08-04 14:40:04 +00:00
parent 016e021fc1
commit 09161cd692

View file

@ -127,6 +127,17 @@ typedef enum _GSWindowInputState
+ (NSGraphicsContext*) currentContext;
+ (void) setCurrentContext: (NSGraphicsContext*)context;
+ (BOOL) currentContextDrawingToScreen;
+ (NSGraphicsContext *) graphicsContextWithAttributes: (NSDictionary *)attributes;
+ (NSGraphicsContext *) graphicsContextWithWindow: (NSWindow *)aWindow;
+ (void) restoreGraphicsState;
+ (void) saveGraphicsState;
+ (void) setGraphicsState: (int)graphicsState;
- (NSDictionary *) attributes;
- (void)flushGraphics;
- (void *)graphicsPort;
- (void) flush;
- (BOOL) isDrawingToScreen;
- (void) restoreGraphicsState;