The `SkRegion.setRect` function in C++ is a method used to set the region to be a rectangular shape. It takes the coordinates of the top-left and bottom-right corners of the rectangle as parameters. By calling this function, the previous content of the region is replaced with the rectangular shape specified by the provided coordinates.
C++ (Cpp) SkRegion::setRect - 30 examples found. These are the top rated real world C++ (Cpp) examples of SkRegion::setRect extracted from open source projects. You can rate examples to help us improve the quality of examples.