NullGlyphRun.cs 431 B

123456789101112131415161718192021
  1. using System.Collections.Generic;
  2. using Avalonia.Platform;
  3. namespace Avalonia.Benchmarks
  4. {
  5. internal class NullGlyphRun : IGlyphRunImpl
  6. {
  7. public Rect Bounds => default;
  8. public Point BaselineOrigin => default;
  9. public void Dispose()
  10. {
  11. }
  12. public IReadOnlyList<float> GetIntersections(float lowerBound, float upperBound)
  13. {
  14. return null;
  15. }
  16. }
  17. }