SSChordEditor

Superclass:
NSObject
Declared In:

Introduction

Use the links in the table of contents to the left to access the documentation.



Methods

-addChordNote:at:
-cancelOp
-drag:notehead:translate:
-draw:
-endDrag:notehead:translate:
-init:ctx:magnification:frame:partIndex:barIndex:item:

initialise the Chord Editor

-noteheadBB:notehead:
-noteheadId:at:maxdist:
-pitchAlterForNotehead:
-removeChordNote:notehead:
-setAccidental:notehead:alter:
-showAccidental:notehead:alter:
-showAddChordNote:at:
-showRemoveChordNote:notehead:
-size:

addChordNote:at:


-(void)addChordNote:(CGContextRef)ctx at:(CGPoint)p; 

cancelOp


-(void)cancelOp; 

drag:notehead:translate:


-(void)drag:(CGContextRef)ctx notehead:(sscore_cheditor_noteid)noteheadId 
        translate:(CGPoint)translate; 

draw:


-(void)draw:(CGContextRef)ctx; 

endDrag:notehead:translate:


-(void)endDrag:(CGContextRef)ctx notehead:(sscore_cheditor_noteid)noteheadId 
        translate:(CGPoint)translate; 

init:ctx:magnification:frame:partIndex:barIndex:item:


initialise the Chord Editor

-(instancetype)init:(SSScore*)score ctx:(CGContextRef)ctx 
        magnification:(float)magnification frame:(CGRect)frame 
        partIndex:(int)partIndex barIndex:(int)barIndex item:(sscore_item_handle)item_h; 
Parameters
score

the score


noteheadBB:notehead:


-(CGRect)noteheadBB:(CGContextRef)ctx notehead:(sscore_cheditor_noteid)noteheadId; 

noteheadId:at:maxdist:


-(sscore_cheditor_noteid)noteheadId:(CGContextRef)ctx at:(CGPoint)p 
        maxdist:(float)maxDist; 

pitchAlterForNotehead:



removeChordNote:notehead:


-(void)removeChordNote:(CGContextRef)ctx notehead:(sscore_cheditor_noteid)noteheadId; 

setAccidental:notehead:alter:


-(void)setAccidental:(CGContextRef)ctx notehead:(sscore_cheditor_noteid)noteheadId 
        alter:(int)accidental_pitch_alter; 

showAccidental:notehead:alter:


-(void)showAccidental:(CGContextRef)ctx notehead:(sscore_cheditor_noteid)noteheadId 
        alter:(int)accidental_pitch_alter; 

showAddChordNote:at:


-(void)showAddChordNote:(CGContextRef)ctx at:(CGPoint)p; 

showRemoveChordNote:notehead:


-(void)showRemoveChordNote:(CGContextRef)ctx notehead:(sscore_cheditor_noteid)noteheadId; 

size:


-(CGSize)size:(CGContextRef)ctx; 

Properties

raw_scedit

raw_scedit


@property (readonly) sscore_cheditor *raw_scedit;