Added functions to draw lines, set renderer color, and check if a rectangle contains a vector.