Made global functions static members of Graphics