drawPie renamed to drawAnnulusSector
This commit is contained in:
+1
-1
@@ -303,7 +303,7 @@ bool evalSlopes(int * slopes, int startAngle, int endAngle)
|
|||||||
return true;
|
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];
|
int slopes[4];
|
||||||
if (!evalSlopes(slopes, startAngle, endAngle))
|
if (!evalSlopes(slopes, startAngle, endAngle))
|
||||||
|
|||||||
+1
-1
@@ -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 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);
|
void drawBitmapPie(int x0, int y0, const uint16_t * img, int startAngle, int endAngle);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user