source: orbit/iOS/Orbit/Orbit/CorePlotHeaders/CPTLineCap.h @ a9059a5

RawEEGRaw_EEG_PlotServoTab_Interfacepyramid
Last change on this file since a9059a5 was a9059a5, checked in by Steve Castellotti <sc@…>, 9 years ago

Arduino:

  • updated to permit custom setting of Throttle, Yaw, and Pitch

Android:

  • Minor tweak to Configuration location

iOS:

  • Property mode set to 100644
File size: 2.1 KB
Line 
1#import <Foundation/Foundation.h>
2#import <QuartzCore/QuartzCore.h>
3
4/// @file
5
6@class CPTLineStyle;
7@class CPTFill;
8
9/**
10 *  @brief Line cap types.
11 **/
12typedef enum _CPTLineCapType {
13    CPTLineCapTypeNone,       ///< No line cap.
14    CPTLineCapTypeOpenArrow,  ///< Open arrow line cap.
15    CPTLineCapTypeSolidArrow, ///< Solid arrow line cap.
16    CPTLineCapTypeSweptArrow, ///< Swept arrow line cap.
17    CPTLineCapTypeRectangle,  ///< Rectangle line cap.
18    CPTLineCapTypeEllipse,    ///< Elliptical line cap.
19    CPTLineCapTypeDiamond,    ///< Diamond line cap.
20    CPTLineCapTypePentagon,   ///< Pentagon line cap.
21    CPTLineCapTypeHexagon,    ///< Hexagon line cap.
22    CPTLineCapTypeBar,        ///< Bar line cap.
23    CPTLineCapTypeCross,      ///< X line cap.
24    CPTLineCapTypeSnow,       ///< Snowflake line cap.
25    CPTLineCapTypeCustom      ///< Custom line cap.
26}
27CPTLineCapType;
28
29@interface CPTLineCap : NSObject<NSCoding, NSCopying> {
30    @private
31    CGSize size;
32    CPTLineCapType lineCapType;
33    CPTLineStyle *lineStyle;
34    CPTFill *fill;
35    CGPathRef cachedLineCapPath;
36    CGPathRef customLineCapPath;
37    BOOL usesEvenOddClipRule;
38}
39
40@property (nonatomic, readwrite, assign) CGSize size;
41@property (nonatomic, readwrite, assign) CPTLineCapType lineCapType;
42@property (nonatomic, readwrite, retain) CPTLineStyle *lineStyle;
43@property (nonatomic, readwrite, retain) CPTFill *fill;
44@property (nonatomic, readwrite, assign) CGPathRef customLineCapPath;
45@property (nonatomic, readwrite, assign) BOOL usesEvenOddClipRule;
46
47/// @name Factory Methods
48/// @{
49+(CPTLineCap *)lineCap;
50+(CPTLineCap *)openArrowPlotLineCap;
51+(CPTLineCap *)solidArrowPlotLineCap;
52+(CPTLineCap *)sweptArrowPlotLineCap;
53+(CPTLineCap *)rectanglePlotLineCap;
54+(CPTLineCap *)ellipsePlotLineCap;
55+(CPTLineCap *)diamondPlotLineCap;
56+(CPTLineCap *)pentagonPlotLineCap;
57+(CPTLineCap *)hexagonPlotLineCap;
58+(CPTLineCap *)barPlotLineCap;
59+(CPTLineCap *)crossPlotLineCap;
60+(CPTLineCap *)snowPlotLineCap;
61+(CPTLineCap *)customLineCapWithPath:(CGPathRef)aPath;
62/// @}
63
64/// @name Drawing
65/// @{
66-(void)renderAsVectorInContext:(CGContextRef)context atPoint:(CGPoint)center inDirection:(CGPoint)direction;
67/// @}
68
69@end
Note: See TracBrowser for help on using the repository browser.