IFontDefn.cs 623 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Drawing;
  6. using System.Drawing.Drawing2D;
  7. #pragma warning disable
  8. namespace Svg
  9. {
  10. public interface IFontDefn : IDisposable
  11. {
  12. float Size { get; }
  13. float SizeInPoints { get; }
  14. void AddStringToPath(ISvgRenderer renderer, GraphicsPath path, string text, PointF location);
  15. float Ascent(ISvgRenderer renderer);
  16. IList<RectangleF> MeasureCharacters(ISvgRenderer renderer, string text);
  17. SizeF MeasureString(ISvgRenderer renderer, string text);
  18. }
  19. }
  20. #pragma warning restore