Public Member Functions | |
| (CGContext) | - graphicsPort [implementation] |
| (id) | - initWithGraphicsPort: [implementation] |
Static Public Member Functions | |
| (CPGraphicsContext) | + currentContext [implementation] |
| (CPGraphicsContext) | + graphicsContextWithGraphicsPort:flipped: [implementation] |
| (void) | + setCurrentContext: [implementation] |
Provides an interface for drawing to the screen.
Definition at line 29 of file CPGraphicsContext.j.
| + (CPGraphicsContext) currentContext | [implementation] |
Returns the current graphics context.
Definition at line 37 of file CPGraphicsContext.j.
| + (CPGraphicsContext) graphicsContextWithGraphicsPort: | (CGContext) | aContext | ||
| flipped: | (BOOL) | aFlag | ||
[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 56 of file CPGraphicsContext.j.
| - (CGContext) graphicsPort | [implementation] |
Returns the graphics context's port.
Definition at line 79 of file CPGraphicsContext.j.
| - (id) initWithGraphicsPort: | (CPContext) | aGraphicsPort | [implementation] |
Initializes the context with a graphics port.
| aGraphicsPort | the graphics port to initialize with |
Definition at line 66 of file CPGraphicsContext.j.
| + (void) setCurrentContext: | (CPGraphicsContext) | aGraphicsContext | [implementation] |
Sets the current graphics context
Definition at line 45 of file CPGraphicsContext.j.
1.6.1