<｜begin▁of▁sentence｜>### Instruction:
Given the center coordinates (5,5) of a rectangle with width 10 and height 8, and a source point (0,0), how do you determine the intersection point between the edge of the rectangle and a line drawn from the source point to the center of the rectangle?
### Response:
from igraph.drawing.shapes import RectangleDrawer

# Define the center point of the rectangle
(center_x, center_y) = (5, 5)

# Define the size of the rectangle
width = 10
height = 8

# Define the source point from which the line is drawn
(source_x, source_y) = (0, 0)

# Create a RectangleDrawer object
rect_drawer = RectangleDrawer(None)

# Get the intersection point of the line from (source_x, source_y) to the center of the rectangle
intersection = rect_drawer.intersection_point(center_x, center_y, width, height, source_x, source_y)
print('Intersection point:', intersection)
<|EOT|>
