Implemented most all standard drawing functions for Direct3D 9