Ejemplo n.º 1
0
 public static void GenerateGlyphPlans(this GlyphLayout glyphLayout,
                                       char[] textBuffer,
                                       int startAt,
                                       int len,
                                       List <GlyphPlan> userGlyphPlanList,
                                       List <UserCharToGlyphIndexMap> charToGlyphMapList)
 {
     //generate glyph plan based on its current setting
     glyphLayout.Layout(textBuffer, startAt, len, userGlyphPlanList);
     //note that we print to userGlyphPlanList
     //----------------
     //3. user char to glyph index map
     if (charToGlyphMapList != null)
     {
         glyphLayout.ReadOutput(charToGlyphMapList);
     }
 }
Ejemplo n.º 2
0
 public static void Layout(this GlyphLayout glyphLayout, char[] str, int startAt, int len, GlyphReadOutputDelegate readDel)
 {
     glyphLayout.Layout(str, startAt, len);
     glyphLayout.ReadOutput(readDel);
 }
Ejemplo n.º 3
0
 public static void Layout(this GlyphLayout glyphLayout, char[] str, int startAt, int len, List <GlyphPlan> outputGlyphList)
 {
     glyphLayout.Layout(str, startAt, len);
     glyphLayout.ReadOutput(outputGlyphList);
 }