ISvgRenderer.cs 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Drawing.Drawing2D;
  3. using System.Drawing;
  4. using System.Collections.Generic;
  5. #pragma warning disable
  6. namespace Svg
  7. {
  8. public interface ISvgRenderer : IDisposable
  9. {
  10. float DpiY { get; }
  11. void DrawImage(Image image, RectangleF destRect, RectangleF srcRect, GraphicsUnit graphicsUnit);
  12. void DrawImageUnscaled(Image image, Point location);
  13. void DrawPath(Pen pen, GraphicsPath path);
  14. void FillPath(Brush brush, GraphicsPath path);
  15. ISvgBoundable GetBoundable();
  16. Region GetClip();
  17. ISvgBoundable PopBoundable();
  18. void RotateTransform(float fAngle, MatrixOrder order = MatrixOrder.Append);
  19. void ScaleTransform(float sx, float sy, MatrixOrder order = MatrixOrder.Append);
  20. void SetBoundable(ISvgBoundable boundable);
  21. void SetClip(Region region, CombineMode combineMode = CombineMode.Replace);
  22. SmoothingMode SmoothingMode { get; set; }
  23. Matrix Transform { get; set; }
  24. void TranslateTransform(float dx, float dy, MatrixOrder order = MatrixOrder.Append);
  25. }
  26. }
  27. #pragma warning restore