public Composition(string refSkeletonPath) { transform = new Matrix(); editingUnit = new ComposedUnit(); an = SkeletonAnnotation.Load(refSkeletonPath, null); if (an == null) { an = new SkeletonAnnotation(null); } }
public static SkeletonAnnotation OpenRefSkeleton(string filepath, Bitmap refSkeletonBmp) { filepath = Path.GetFullPath(filepath); string root = Path.GetDirectoryName(filepath); if (!File.Exists(filepath)) { return(null); } return(SkeletonAnnotation.Load(filepath, refSkeletonBmp)); }
public void Open(string filepath) { an = SkeletonAnnotation.Load(filepath, an.bmp); }