Skip to content

Commit 20abf15

Browse files
authored
Correct circle method docs (#487)
1 parent a969a70 commit 20abf15

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Adafruit_GFX.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,8 @@ void Adafruit_GFX::drawCircle(int16_t x0, int16_t y0, int16_t r,
514514
@param x0 Center-point x coordinate
515515
@param y0 Center-point y coordinate
516516
@param r Radius of circle
517-
@param cornername Mask bit #1 or bit #2 to indicate which quarters of
518-
the circle we're doing
517+
@param cornername Mask bit #1, #2, #4, and #8 to indicate which quarters
518+
of the circle we're doing
519519
@param color 16-bit 5-6-5 Color to draw with
520520
*/
521521
/**************************************************************************/
@@ -574,11 +574,12 @@ void Adafruit_GFX::fillCircle(int16_t x0, int16_t y0, int16_t r,
574574

575575
/**************************************************************************/
576576
/*!
577-
@brief Quarter-circle drawer with fill, used for circles and roundrects
577+
@brief Half-circle drawer with fill, used for circles and roundrects
578578
@param x0 Center-point x coordinate
579579
@param y0 Center-point y coordinate
580580
@param r Radius of circle
581-
@param corners Mask bits indicating which quarters we're doing
581+
@param corners Mask bits indicating which sides of the circle we are
582+
doing, left (1) and/or right (2)
582583
@param delta Offset from center-point, used for round-rects
583584
@param color 16-bit 5-6-5 Color to fill with
584585
*/

0 commit comments

Comments
 (0)