Public Member Functions | Properties

ChipmunkCGContextSampler Class Reference

Sampler built on top of a CGBitmapContext to allow deformable geometry. More...

#import <ChipmunkImageSampler.h>

Inherits ChipmunkBitmapSampler.

Inherited by ChipmunkImageSampler.

List of all members.

Public Member Functions

(id) - initWithWidth:height:colorSpace:bitmapInfo:component:
 Initialize a context based sampler.

Properties

CGContextRef context
 CGBitmapContext for this sampler.
NSMutableData * pixelData
 NSMutableData object holding the pixel data.

Detailed Description

Sampler built on top of a CGBitmapContext to allow deformable geometry.

Very efficient when paired with a ChipmunkTileCache.


Member Function Documentation

- (id) initWithWidth: (int)  width
height: (int)  height
colorSpace: (CGColorSpaceRef)  colorSpace
bitmapInfo: (CGBitmapInfo)  bitmapInfo
component: (NSUInteger)  component 

Initialize a context based sampler.

Must provide options for a valid context. Find out more here in the Quartz 2D Programming Guide.


The documentation for this class was generated from the following file:
 All Classes Functions Variables Properties