PageRenderTime 23ms CodeModel.GetById 15ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/GraphDraw_Mixed/GDNode.m

http://github.com/jsyedidia/nugraphdraw
Objective C | 23 lines | 13 code | 5 blank | 5 comment | 0 complexity | c6b4bb1844306b0fcbb99966c77766d6 MD5 | raw file
 1//  Created by Jonathan Yedidia on 5/31/08.
 2//  Copyright 2008. All rights reserved.
 3//  Objective-C code based on Aaron Hillegass'
 4//  "GraphLaughs" PyObjC application, available online at
 5//  http://weblog.bignerdranch.com/pythonex/GraphLaughs.tgz
 6
 7#import "GDNode.h"
 8
 9@implementation GDNode
10
11- (id)initWithPoint:(NSPoint)aPoint
12{
13    [super init];
14    point = aPoint;
15    return self;
16}
17
18- (NSPoint)point
19{
20    return point;
21}
22
23@end