touchgfx::Shape::setCache() method
@fn virtual void Shape::setCache(int i, CWRUtil::Q5 x, CWRUtil::Q5 y) Sets the cached coordinates of a given corner. Sets the cached coordinates of a given corner. The coordinates in the cache are the coordinates from the corners after rotating and scaling the coordinate.
Arguments
i
Zero-based index of the corner.
x
The x coordinate.
y
The y coordinate.