Skip to content

Conversation

@BillMerryman
Copy link
Contributor

This method adds the ability to draw filled quarter circles, which currently isn't possible.

@BillMerryman
Copy link
Contributor Author

@ladyada for review.

@ladyada ladyada requested a review from Copilot November 7, 2025 19:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new fillQuarterCircle function to the Adafruit_GFX library that provides more granular control over filled circle drawing by supporting all four quadrants independently using a 4-bit mask (0x1, 0x2, 0x4, 0x8), unlike the existing fillCircleHelper which only supports left/right halves using a 2-bit mask.

  • Added fillQuarterCircle method declaration to Adafruit_GFX.h
  • Implemented fillQuarterCircle in Adafruit_GFX.cpp with full documentation

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
Adafruit_GFX.h Added function declaration for fillQuarterCircle with parameters matching the implementation
Adafruit_GFX.cpp Implemented fillQuarterCircle function with Midpoint Circle Algorithm and comprehensive documentation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant