TextChunkGlyph.cs 354 B

1234567891011121314151617181920
  1. #if MONOGAME || FNA
  2. using Microsoft.Xna.Framework;
  3. #elif STRIDE
  4. using Stride.Core.Mathematics;
  5. #else
  6. using System.Drawing;
  7. #endif
  8. namespace FontStashSharp.RichText
  9. {
  10. public struct TextChunkGlyph
  11. {
  12. public int Index;
  13. public int Codepoint;
  14. public Rectangle Bounds;
  15. public int XAdvance;
  16. public int LineTop;
  17. public TextChunk TextChunk;
  18. }
  19. }