public static ICharIterator ToIterator(this StringBuilder value, int offset, int count) { return(CharIteratorPool.Rent(value, offset, count)); }
public static ICharIterator ToIterator(this char highSurrogate, char lowSurrogate) { return(CharIteratorPool.Rent(highSurrogate, lowSurrogate)); }
public SizeF GetGlyphs(StringBuilder text, int offset, int count, ICollection <Glyph> output) { using (var iterator = CharIteratorPool.Rent(text, offset, count)) return(GetGlyphs(iterator, output)); }
public static ICharIterator ToIterator(this char value) { return(CharIteratorPool.Rent(value)); }
public IEnumerator <Glyph> GetGlyphs(string text, int offset, int count, Vector2 position = default) { var iterator = CharIteratorPool.Rent(text, offset, count); return(GlyphEnumeratorPool.Rent(this, iterator, position)); }