Grx.user_draw_polygon_with_pixmap
function user_draw_polygon_with_pixmap(points: Array(Grx.Point), o: Grx.LineOptions, p: Grx.Pixmap): void { // Gjs wrapper for grx_user_draw_polygon_with_pixmap() }
Draw a closed polygon on the current context that connects each point in the points array using the specified line options and pixmap.
Coordinate arrays can either contain or omit the closing edge of the polygon. It will be automatically appended to the list if it is missing.
- points
an array of Grx.Point
- o
the line options
- p
the pixmap