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); } }
public static void Layout(this GlyphLayout glyphLayout, char[] str, int startAt, int len, GlyphReadOutputDelegate readDel) { glyphLayout.Layout(str, startAt, len); glyphLayout.ReadOutput(readDel); }
public static void Layout(this GlyphLayout glyphLayout, char[] str, int startAt, int len, List <GlyphPlan> outputGlyphList) { glyphLayout.Layout(str, startAt, len); glyphLayout.ReadOutput(outputGlyphList); }