MPLABĀ® Harmony Graphics Suite  GFX v3.13.0
Legato API Documentation
leArcWidget Struct Reference

This struct represents a arc widget. More...

#include <C:/microchip/harmony3/gfx/middleware/legato/library/src/gfx/legato/widget/arc/legato_widget_arc.h>

Collaboration diagram for leArcWidget:

Data Fields

leWidget widget
 
const leArcWidgetVTable * fn
 
uint32_t radius
 
int32_t startAngle
 
int32_t centerAngle
 
uint32_t endAngle
 
uint32_t thickness
 
leBool roundEdge
 

Detailed Description

This struct represents a arc widget.

A arc widget draws a arc of the specified origin and radius inside the widget bounds. All coordinates are expressed in local widget space. The color of the arc is determined by the widget scheme's 'foreground' color.

Field Documentation

◆ centerAngle

int32_t centerAngle

the center angle of the arc::centerAngle.

◆ endAngle

uint32_t endAngle

the end angle of the arc::endAngle.

◆ fn

const leArcWidgetVTable* fn

virtual function table::fn.

◆ radius

uint32_t radius

the radius of the arc::radius.

◆ roundEdge

leBool roundEdge

draws round edge if true::roundEdge.

◆ startAngle

int32_t startAngle

the start angle of the arc::startAngle.

◆ thickness

uint32_t thickness

the thickness of the arc::thickness.

◆ widget

leWidget widget

base widget header::widget.


The documentation for this struct was generated from the following file: