Exemple #1
0
        public void AddFallback(FieldFont font, string name, float scale)
        {
            var msdf = new MSDFFont(font);

            msdf.VectorScale = scale;
            Fallbacks.Add(msdf);
        }
Exemple #2
0
 public MSDFGlyph(FieldGlyph glyph, MSDFFont font)
 {
     Glyph = glyph;
     Font  = font;
 }
Exemple #3
0
 public MSDFRenderGroup(MSDFFont font)
 {
     Font     = font;
     Indices  = new List <int>();
     Vertices = new List <MSDFFontVert>();
 }