In a form I have a picturebox which contains a circular shape placed at a position resulting from some calculation, usually at or near the center, but sometimes it comes out too offset from the center that part of it is clipped as in these figures:
Now I have made a printing function where a rectangle is printed representing the border of the picturebox and I use the circle method to draw the circle inside. When the circle is clipped in the picturebox as in the right figure part of the circle comes out of the rectangle and overlaps other information printed at the sides.
What would be a way around so that the circle came out clipped by the rectangle?




Reply With Quote