added rotate, scale and translate to the graphics library