touchgfx::AbstractShape::setCache() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::AbstractShape::setCache()

touchgfx::AbstractShape::setCache() method

@fn virtual void AbstractShape::setCache(int i, CWRUtil::Q5 x, CWRUtil::Q5 y) = 0; 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) = 0;

Arguments

i

Zero-based index of the corner.

x

The x coordinate.

y

The y coordinate.

References

LocationText
AbstractShape.hpp:424
virtual void setCache(int i, CWRUtil::Q5 x, CWRUtil::Q5 y) = 0;