Exemplo n.º 1
0
        private void initialiseBuilder(bool withDifferentBaselines)
        {
            textBuilder = new TextBuilder(store, FontUsage.Default);

            char different = 'B';

            for (int i = 0; i < 100; i++)
            {
                textBuilder.AddCharacter(withDifferentBaselines && (i % 10 == 0) ? different++ : 'A');
            }
        }