00001 /* 00002 * PathPoint.h 00003 * line-drawing-game 00004 * 00005 * Created by Steffen Itterheim on 09.04.10. 00006 * Copyright 2010 Steffen Itterheim. All rights reserved. 00007 * 00008 */ 00009 00011 typedef struct 00012 { 00014 CGPoint location; 00016 bool isEndPoint; 00017 } PathPoint; 00018 00020 static __inline__ PathPoint PathPointMake(CGPoint location, bool isEndPoint) 00021 { 00022 PathPoint pt; 00023 pt.location = location; 00024 pt.isEndPoint = isEndPoint; 00025 return pt; 00026 }