#import <CPGraphicsContext.h>
 Inheritance diagram for CPGraphicsContext:Class Methods | |
| (CPGraphicsContext) | + currentContext | 
| (CPGraphicsContext) | + graphicsContextWithGraphicsPort:flipped: | 
| (void) | + restoreGraphicsState | 
| (void) | + saveGraphicsState | 
| (void) | + setCurrentContext: | 
  Class Methods inherited from CPObject | |
| (BOOL) | + accessInstanceVariablesDirectly | 
| (id) | + alloc | 
| (id) | + allocWithCoder: | 
| (BOOL) | + automaticallyNotifiesObserversForKey: | 
| (void) | + cancelPreviousPerformRequestsWithTarget: | 
| (void) | + cancelPreviousPerformRequestsWithTarget:selector:object: | 
| (Class) | + class | 
| (BOOL) | + conformsToProtocol: | 
| (void) | + exposeBinding: | 
| (void) | + initialize | 
| (IMP) | + instanceMethodForSelector: | 
| (BOOL) | + instancesImplementSelector: | 
| (BOOL) | + instancesRespondToSelector: | 
| (BOOL) | + isBindingExclusive: | 
| (BOOL) | + isSubclassOfClass: | 
| (CPSet) | + keyPathsForValuesAffectingValueForKey: | 
| (void) | + load | 
| (id) | + new | 
| (void) | + object:performSelector:withObject:afterDelay:inModes: | 
| (void) | + setVersion: | 
| (Class) | + superclass | 
| (int) | + version | 
Provides an interface for drawing to the screen.
Definition at line 2 of file CPGraphicsContext.h.
      
  | 
  implementation | 
Returns the current graphics context.
Definition at line 41 of file CPGraphicsContext.j.
      
  | 
  implementation | 
Creates a graphics context with a provided port.
| aContext | the context to initialize with | 
| aFlag | whether the context should be flipped | 
Definition at line 83 of file CPGraphicsContext.j.
      
  | 
  implementation | 
Returns the graphics context's port.
Definition at line 106 of file CPGraphicsContext.j.
      
  | 
  implementation | 
Initializes the context with a graphics port.
| aGraphicsPort | the graphics port to initialize with | 
Definition at line 93 of file CPGraphicsContext.j.
      
  | 
  implementation | 
(Not implemented. Always returns Cappuccino's default, YES.)
Return isFlipped of the receiver's focused view, unless no view is focused in which case the receiver's flipped flag, as set by graphicsContextWithGraphicsPort:flipped:, is returned.
Note: Cappuccino is flipped by default.
Definition at line 119 of file CPGraphicsContext.j.
      
  | 
  implementation | 
Definition at line 66 of file CPGraphicsContext.j.
      
  | 
  implementation | 
Definition at line 54 of file CPGraphicsContext.j.
      
  | 
  implementation | 
Sets the current graphics context
Definition at line 49 of file CPGraphicsContext.j.