void ApplyTransform() { if (_path == null) { return; } if (_transformedPath != null) { _transformedPath.Dispose(); _transformedPath = null; } if (!_transform.IsIdentity) { _transformedPath = new RefCountable <SkPath>(new SkPath(MethodTable.Instance.TransformPath(_path.Handle, Transform))); } }
public RefCountable(RefCountable <T> other) { other._shared.Target.CheckDisposed(); other._shared.AddRef(); _shared = other._shared; }