public void Begin(int width, int height) { bitmapWidth = width; bitmapHeight = height; _bitmap = new byte[width * height]; _context = new PackContext(); _context.stbtt_PackBegin(_bitmap, width, height, width, 1); _glyphs = new Dictionary <int, GlyphInfo>(); }