graphics extension

Added support to graphics for drawing scaled textures