IDrawingBackend.cs 1.4 KB

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Threading.Tasks;
  3. using PixiEditor.DrawingApi.Core.Bridge.NativeObjectsImpl;
  4. using PixiEditor.DrawingApi.Core.Bridge.Operations;
  5. using PixiEditor.DrawingApi.Core.Surfaces;
  6. namespace PixiEditor.DrawingApi.Core.Bridge
  7. {
  8. public interface IDrawingBackend
  9. {
  10. public void Setup();
  11. public IColorImplementation ColorImplementation { get; }
  12. public IImageImplementation ImageImplementation { get; }
  13. public ICanvasImplementation CanvasImplementation { get; }
  14. public IPaintImplementation PaintImplementation { get; }
  15. public IVectorPathImplementation PathImplementation { get; }
  16. public IMatrix3X3Implementation MatrixImplementation { get; }
  17. public IPixmapImplementation PixmapImplementation { get; }
  18. public ISurfaceImplementation SurfaceImplementation { get; }
  19. public IColorSpaceImplementation ColorSpaceImplementation { get; }
  20. public IImgDataImplementation ImgDataImplementation { get; }
  21. public IBitmapImplementation BitmapImplementation { get; }
  22. public IColorFilterImplementation ColorFilterImplementation { get; }
  23. public IImageFilterImplementation ImageFilterImplementation { get; }
  24. public IShaderImplementation ShaderImplementation { get; set; }
  25. public bool IsHardwareAccelerated { get; }
  26. public IRenderingServer RenderingDispatcher { get; set; }
  27. }
  28. }