CPPlotSymbol Class Reference

Plot symbols for CPScatterPlot. More...

Public Member Functions

Drawing

(void) - renderInContext:atPoint:
 Draws the plot symbol into the given graphics context centered at the provided point.

Static Public Member Functions

Factory Methods

(CPPlotSymbol *) + plotSymbol
 Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeNone.
(CPPlotSymbol *) + crossPlotSymbol
 Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeCross.
(CPPlotSymbol *) + ellipsePlotSymbol
 Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeEllipse.
(CPPlotSymbol *) + rectanglePlotSymbol
 Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeRectangle.
(CPPlotSymbol *) + plusPlotSymbol
 Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypePlus.
(CPPlotSymbol *) + starPlotSymbol
 Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeStar.
(CPPlotSymbol *) + diamondPlotSymbol
 Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeDiamond.
(CPPlotSymbol *) + trianglePlotSymbol
 Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeTriangle.
(CPPlotSymbol *) + pentagonPlotSymbol
 Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypePentagon.
(CPPlotSymbol *) + hexagonPlotSymbol
 Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeHexagon.
(CPPlotSymbol *) + dashPlotSymbol
 Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeDash.
(CPPlotSymbol *) + snowPlotSymbol
 Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeSnow.
(CPPlotSymbol *) + customPlotSymbolWithPath:
 Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeCustom.

Properties

CGSize size
 The symbol size.
CPPlotSymbolType symbolType
 The symbol type.
CPLineStylelineStyle
 The line style for the border of the symbol. If nil, the border is not drawn.
CPFillfill
 The fill for the interior of the symbol. If nil, the symbol is not filled.
CGPathRef customSymbolPath
 The drawing path for a custom plot symbol. It will be scaled to size before being drawn.
BOOL usesEvenOddClipRule
 If YES, the even-odd rule is used to draw the symbol, otherwise the nonzero winding number rule is used.

Detailed Description

Plot symbols for CPScatterPlot.


Member Function Documentation

+ (CPPlotSymbol *) crossPlotSymbol  

Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeCross.

Returns:
A new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeCross.
+ (CPPlotSymbol *) customPlotSymbolWithPath: (CGPathRef)  aPath  

Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeCustom.

Parameters:
aPath The bounding path for the custom symbol.
Returns:
A new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeCustom.
+ (CPPlotSymbol *) dashPlotSymbol  

Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeDash.

Returns:
A new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeDash.
+ (CPPlotSymbol *) diamondPlotSymbol  

Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeDiamond.

Returns:
A new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeDiamond.
+ (CPPlotSymbol *) ellipsePlotSymbol  

Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeEllipse.

Returns:
A new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeEllipse.
+ (CPPlotSymbol *) hexagonPlotSymbol  

Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeHexagon.

Returns:
A new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeHexagon.
+ (CPPlotSymbol *) pentagonPlotSymbol  

Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypePentagon.

Returns:
A new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypePentagon.
+ (CPPlotSymbol *) plotSymbol  

Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeNone.

Returns:
A new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeNone.
+ (CPPlotSymbol *) plusPlotSymbol  

Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypePlus.

Returns:
A new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypePlus.
+ (CPPlotSymbol *) rectanglePlotSymbol  

Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeRectangle.

Returns:
A new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeRectangle.
- (void) renderInContext: (CGContextRef)  theContext
atPoint: (CGPoint)  center 

Draws the plot symbol into the given graphics context centered at the provided point.

Parameters:
theContext The graphics context to draw into.
center The center point of the symbol.
+ (CPPlotSymbol *) snowPlotSymbol  

Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeSnow.

Returns:
A new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeSnow.
+ (CPPlotSymbol *) starPlotSymbol  

Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeStar.

Returns:
A new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeStar.
+ (CPPlotSymbol *) trianglePlotSymbol  

Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeTriangle.

Returns:
A new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeTriangle.

Property Documentation

- usesEvenOddClipRule [read, write, assign]

If YES, the even-odd rule is used to draw the symbol, otherwise the nonzero winding number rule is used.

See also:
Filling a Path in the Quartz 2D Programming Guide.

The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties
Generated on Thu Jun 3 21:52:44 2010 for core-plot by  doxygen 1.6.3