Graphics class and text