The SkRect.setEmpty function is a method in C++ that sets a rectangle to an empty state. This means that all the coordinates of the rectangle are set to zero, effectively making it invisible or non-existent. This function is commonly used to clear or reset a rectangle when it is no longer needed or when a new rectangle needs to be assigned.
C++ (Cpp) SkRect::setEmpty - 17 examples found. These are the top rated real world C++ (Cpp) examples of SkRect::setEmpty extracted from open source projects. You can rate examples to help us improve the quality of examples.