Пример #1
0
		internal IVertexSource GetGlyphForCharacter(char character)
		{
			// TODO: check for multi character glyphs (we don't currently support them in the reader).
			Glyph glyph;
			if (glyphs.TryGetValue(character, out glyph))
			{
				PathStorage writeableGlyph = new PathStorage();
				writeableGlyph.ShareVertexData(glyph.glyphData);
				return writeableGlyph;
			}

			return null;
		}