internal void Append(PathData data) { commandList.AddRange(data.commandList); pointList.AddRange(data.pointList); }
internal PathData(PathData @base) { commandList = new List<PathCommand>(@base.commandList); pointList = new List<Point>(@base.pointList); }
private Path(Path @base) { data = new PathData(@base.data); }
internal Path(IntPtr nativePath, bool retain) { this.nativePath = nativePath; data = new PathData(nativePath, true); if (retain) SafeNativeMethods.CFRetain(nativePath); }
public Path() { data = new PathData(); }
private void Dispose(bool disposing) { var nativePath = Interlocked.Exchange(ref this.nativePath, IntPtr.Zero); data = null; if (nativePath != IntPtr.Zero) SafeNativeMethods.CFRelease(nativePath); }