Skip to main content

Module round

Module round 

Source
Expand description

Circular / Round Screen Geometry and Unobstructed Area adaptation.

Provides line chord width calculations for circular displays (e.g. 180×180 / 240×240 GC9A01 LCDs) and reactive unobstructed area layout management.

Structs§

UnobstructedArea
Manages dynamic unobstructed screen bounds when system overlays or banners (e.g., status bars, timeline peek, heads-up notifications) cover portions of the display.

Functions§

circle_chord_width
Calculates the horizontal chord width across a circle at a given vertical distance from center.
round_screen_line_bounds
Calculates the safe bounding rectangle for text or widget lines on a circular display.