QPainter drawPie equivalent function in ArcGIS Qt

371
1
Jump to solution
10-31-2022 04:58 AM
Labels (2)
FatmaAkdemir
Occasional Contributor II

Is there any way to draw a pie slice shape on a Basemap? There is a function in QPainter called drawPie() where we give a start angle and a span angle. We just want an exact equivalent of that function in ArcGIS.

0 Kudos
1 Solution

Accepted Solutions
LucasDanzinger
Esri Frequent Contributor

You could add a graphic with a VectorMarkerSymbolElement. This allows you to define the symbol shape as a vector

 

https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-vectormarkersymbolelement.html 

View solution in original post

0 Kudos
1 Reply
LucasDanzinger
Esri Frequent Contributor

You could add a graphic with a VectorMarkerSymbolElement. This allows you to define the symbol shape as a vector

 

https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-vectormarkersymbolelement.html 

0 Kudos