drawPie renamed to drawAnnulusSector

This commit is contained in:
Bertrand Songis
2020-01-14 08:24:45 +01:00
parent a0a75f869c
commit 01e4670069
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -303,7 +303,7 @@ bool evalSlopes(int * slopes, int startAngle, int endAngle)
return true;
}
void BitmapBuffer::drawPie(coord_t x, coord_t y, coord_t internalRadius, coord_t externalRadius, int startAngle, int endAngle, LcdFlags flags)
void BitmapBuffer::drawAnnulusSector(coord_t x, coord_t y, coord_t internalRadius, coord_t externalRadius, int startAngle, int endAngle, LcdFlags flags)
{
int slopes[4];
if (!evalSlopes(slopes, startAngle, endAngle))
+1 -1
View File
@@ -358,7 +358,7 @@ class BitmapBuffer: public BitmapBufferBase<uint16_t>
void drawFilledCircle(coord_t x, coord_t y, coord_t radius, LcdFlags flags = 0);
void drawPie(coord_t x, coord_t y, coord_t internalRadius, coord_t externalRadius, int startAngle, int endAngle, LcdFlags flags = 0);
void drawAnnulusSector(coord_t x, coord_t y, coord_t internalRadius, coord_t externalRadius, int startAngle, int endAngle, LcdFlags flags = 0);
void drawBitmapPie(int x0, int y0, const uint16_t * img, int startAngle, int endAngle);