CPGraphicsContext Class Reference

List of all members.

Public Member Functions

(id) - initWithGraphicsPort: [implementation]
(CGContext) - graphicsPort [implementation]

Static Public Member Functions

(CPGraphicsContext+ currentContext [implementation]
(void) + setCurrentContext: [implementation]
(CPGraphicsContext+ graphicsContextWithGraphicsPort:flipped: [implementation]


Detailed Description

Provides an interface for drawing to the screen.

Definition at line 28 of file CPGraphicsContext.j.


Member Function Documentation

+ (CPGraphicsContext) currentContext   [implementation]

Returns the current graphics context.

Definition at line 36 of file CPGraphicsContext.j.

+ (CPGraphicsContext) graphicsContextWithGraphicsPort: (CGContext)  aContext
flipped: (BOOL)  aFlag 
[implementation]

Creates a graphics context with a provided port.

Parameters:
aContext the context to initialize with
aFlag whether the context should be flipped
Returns:
the initialized graphics context

Definition at line 55 of file CPGraphicsContext.j.

- (CGContext) graphicsPort   [implementation]

Returns the graphics context's port.

Definition at line 78 of file CPGraphicsContext.j.

- (id) initWithGraphicsPort: (CPContext)  aGraphicsPort   [implementation]

Initializes the context with a graphics port.

Parameters:
aGraphicsPort the graphics port to initialize with
Returns:
the initialized context

Definition at line 65 of file CPGraphicsContext.j.

+ (void) setCurrentContext: (CPGraphicsContext aGraphicsContext   [implementation]

Sets the current graphics context

Definition at line 44 of file CPGraphicsContext.j.


The documentation for this class was generated from the following file:

Generated on Thu Dec 11 01:55:50 2008 for Cappuccino by  doxygen 1.5.7.1