creates a region and sets it to the rectangle, and sets the clipping region to this region.
创建一个区域并将其设置为矩形,然后将剪辑区域设置为此区域。
sets the clipping region to the elliptical path.
将剪辑区域设置为椭圆路径。
resets the clipping region to infinite.
将剪辑区域重置为无穷大。
it uses a black pen for the first clipping region and a red pen for the second clipping region.
对第一个剪辑区域使用黑色钢笔,对第二个剪辑区域使用红色钢笔。
sets the clipping region to exclude the rectangular region.
设置剪辑区域以排除矩形区域。
translates the clipping region by a vector (50, 50).
将剪辑区域平移一个向量 (50,50)。
creates a rectangle with upper-left corner at (0, 0) and sets the clipping region to this rectangle.
创建一个左上角位于 (0,0) 的矩形并将剪辑区域设置为此矩形。