CPGraphicsContext Class Reference
[AppKit]

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 29 of file CPGraphicsContext.j.


Member Function Documentation

+ (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.

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

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.

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

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.


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

Generated on Wed May 20 12:44:00 2009 for Cappuccino by  doxygen 1.5.8