예제 #1
0
 public TypesettingContext(Func <TFont, float, TFont> mathFontCloner,
                           IGlyphBoundsProvider <TFont, TGlyph> glyphBoundsProvider,
                           IGlyphFinder <TFont, TGlyph> glyphFinder,
                           FontMathTable <TFont, TGlyph> mathTable)
 {
     GlyphBoundsProvider = glyphBoundsProvider;
     MathFontCloner      = mathFontCloner;
     GlyphFinder         = glyphFinder;
     MathTable           = mathTable;
 }
예제 #2
0
 public static float Get <TFont, TGlyph>(MathAtom left, MathAtom right,
                                         LineStyle style, TFont styleFont, FrontEnd.FontMathTable <TFont, TGlyph> mathTable)
     where TFont : FrontEnd.IFont <TGlyph>
 {