touchgfx::Shape::setCache() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

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.

Syntax

virtual void setCache(int i,     CWRUtil::Q5 x,     CWRUtil::Q5 y);

Arguments

i

Zero-based index of the corner.

x

The x coordinate.

y

The y coordinate.

References

LocationText
Shape.hpp:148
virtual void setCache(int i, CWRUtil::Q5 x, CWRUtil::Q5 y)