got image drawing working for primitive shapes