![]() |
API
0.9.6
|
#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: |
| (Class) | + class |
| (void) | + exposeBinding: |
| (void) | + initialize |
| (IMP) | + instanceMethodForSelector: |
| (BOOL) | + instancesRespondToSelector: |
| (BOOL) | + isSubclassOfClass: |
| (CPSet) | + keyPathsForValuesAffectingValueForKey: |
| (void) | + load |
| (id) | + new |
| (void) | + setVersion: |
| (Class) | + superclass |
| (int) | + version |
Additional Inherited Members | |
Instance Variables inherited from CPObject | |
| Class | isa |
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 82 of file CPGraphicsContext.j.
|
implementation |
Returns the graphics context's port.
Definition at line 105 of file CPGraphicsContext.j.
|
implementation |
Initializes the context with a graphics port.
| aGraphicsPort | the graphics port to initialize with |
Definition at line 92 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 118 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.