| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 | using PixiEditor.ChangeableDocument.Changeables.Graph.Interfaces;using PixiEditor.ChangeableDocument.Changeables.Interfaces;using PixiEditor.ChangeableDocument.Rendering;using PixiEditor.DrawingApi.Core.Surfaces.ImageData;using PixiEditor.Numerics;namespace PixiEditor.Backend.Tests;public class MockDocument : IReadOnlyDocument{    public void Dispose()    {        throw new NotImplementedException();    }    public IReadOnlyNodeGraph NodeGraph { get; }    public IReadOnlySelection Selection { get; }    public IReadOnlyAnimationData AnimationData { get; }    public VecI Size { get; } = new VecI(16, 16);    public bool HorizontalSymmetryAxisEnabled { get; }    public bool VerticalSymmetryAxisEnabled { get; }    public double HorizontalSymmetryAxisY { get; }    public double VerticalSymmetryAxisX { get; }    public void ForEveryReadonlyMember(Action<IReadOnlyStructureNode> action)    {        throw new NotImplementedException();    }    public Image? GetLayerRasterizedImage(Guid layerGuid, int frame)    {        throw new NotImplementedException();    }    public RectI? GetChunkAlignedLayerBounds(Guid layerGuid, int frame)    {        throw new NotImplementedException();    }    public IReadOnlyNode FindNode(Guid guid)    {        throw new NotImplementedException();    }    public IReadOnlyStructureNode? FindMember(Guid guid)    {        throw new NotImplementedException();    }    public bool TryFindMember<T>(Guid guid, out T? member) where T : IReadOnlyStructureNode    {        throw new NotImplementedException();    }    public bool TryFindMember(Guid guid, out IReadOnlyStructureNode? member)    {        throw new NotImplementedException();    }    public IReadOnlyStructureNode FindMemberOrThrow(Guid guid)    {        throw new NotImplementedException();    }    (IReadOnlyStructureNode, IReadOnlyNode) IReadOnlyDocument.FindChildAndParentOrThrow(Guid childGuid)    {        return FindChildAndParentOrThrow(childGuid);    }    public (IReadOnlyStructureNode, IReadOnlyFolderNode) FindChildAndParentOrThrow(Guid childGuid)    {        throw new NotImplementedException();    }    public IReadOnlyList<IReadOnlyStructureNode> FindMemberPath(Guid guid)    {        throw new NotImplementedException();    }    public IReadOnlyReferenceLayer? ReferenceLayer { get; }    public DocumentRenderer Renderer { get; }}
 |