Glyph.cs 284 B

123456789101112131415161718
  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
  9. {
  10. public struct Glyph
  11. {
  12. public int Index;
  13. public int Codepoint;
  14. public Rectangle Bounds;
  15. public int XAdvance;
  16. }
  17. }