The SkRect.roundOut function in C++ is used to round out the edges of a SkRect object to the nearest integer coordinates. This function adjusts the coordinates of the rectangle in such a way that it encloses the original rectangle entirely. This ensures that the rounded rectangle fits perfectly within the integer grid of pixels, which is useful for creating smooth and accurate rendering effects.
C++ (Cpp) SkRect::roundOut - 30 examples found. These are the top rated real world C++ (Cpp) examples of SkRect::roundOut extracted from open source projects. You can rate examples to help us improve the quality of examples.