public abstract void GetGlyphsFromString(TextModifierScope textModifierScope, string value, IList <IGlyph> buffer);
 public override void GetCharacters(GlyphProvider glyphProvider, TextModifierScope textModifierScope, IList <IGlyph> buffer)
 {
 }
Beispiel #3
0
        public virtual void GetRubyCharacters(GlyphProvider glyphProvider, TextModifierScope textModifierScope, IList <IGlyph> buffer)
        {
            var rubyTextModifierScope = textModifierScope as IRubyTextModifierScope;

            glyphProvider.GetGlyphsFromString((rubyTextModifierScope != null) ? rubyTextModifierScope.RubyScope : textModifierScope, this.RawRubyCharacters, buffer);
        }
 public virtual GlyphPlacement CreateGlyphPlacement(TextModifierScope currenTextModifierScope, IGlyph glyph, int x, int y, int index, int indexInTextRun, int textRunLength)
 {
     return(new GlyphPlacement(glyph, x, y, index));
 }
 public abstract TextModifierScope CreateTextModifierScope(TextModifierScope parent, TextModifier textModifier);
 public override void GetCharacters(GlyphProvider glyphProvider, TextModifierScope textModifierScope, IList <IGlyph> buffer)
 {
     glyphProvider.GetGlyphsFromString(textModifierScope, this.RawCharacters, buffer);
 }
Beispiel #7
0
 public abstract void GetCharacters(GlyphProvider glyphProvider, TextModifierScope textModifierScope, IList <IGlyph> buffer);