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

touchgfx::Circle::setPrecision() method

@fn void Circle::setPrecision(const int precision); Sets a precision of the Circle drawing function. Sets a precision of the Circle drawing function. The number given as precision is the number of degrees used as step counter when drawing smaller line fragments around the circumference of the circle, five being a sensible value. Higher values results in less nice circles but faster rendering. Large circles might need a precision smaller than five.

Syntax

void setPrecision(const int precision);

Arguments

precision

The precision measured in degrees.

Notes

The circle is not invalidated.

References

LocationText
Circle.hpp:438
void setPrecision(const int precision);