Rather than clamping the drawing limits by some arbitrary limit, why not just use the bounding box to determine if an object can be drawn? Vertical and horizontal lines could be drawn all the way out to the numerical limits of a 32 bit integer and still produce a valid output.
Rather than clamping the drawing limits by some arbitrary limit, why not just use the bounding box to determine if an object can be drawn? Vertical and horizontal lines could be drawn all the way out to the numerical limits of a 32 bit integer and still produce a valid output.