Esempio n. 1
0
 public static AttributedString <TFont, TGlyph> Combine <TFont, TGlyph>(AttributedString <TFont, TGlyph> aStr, AttributedGlyphRun <TFont, TGlyph> run)
     where TFont : MathFont <TGlyph>
 {
     if (aStr == null)
     {
         return(AttributedStrings.FromGlyphRuns(run));
     }
     else
     {
         if (run != null)
         {
             aStr.AppendGlyphRun(run);
         }
         return(aStr);
     }
 }
Esempio n. 2
0
 public static AttributedString <TFont, TGlyph> Combine <TFont, TGlyph>(AttributedGlyphRun <TFont, TGlyph> run1, AttributedGlyphRun <TFont, TGlyph> run2)
     where TFont : MathFont <TGlyph>
 => AttributedStrings.FromGlyphRuns(run1, run2);