Added text-drawing methods to bitmap class