Added DrawLine function and ability to pass some of the structs as refs.