CRfill_polygon: Draws filled polygon.

View source: R/CRfill_polygon.R

CRfill_polygonR Documentation

Draws filled polygon.

Description

Draws filled polygon defined in polygon_list to rendering target. Polygon is defined by ordered vertices (x,y).

Usage

CRfill_polygon(graphics_list, polygon_list, status = NULL)

Arguments

graphics_list

List containing pointers to window, renderer etc. created with CRopen.

polygon_list

List defining a polygon, containing vector-elements x and y.

status

Optional list status with elements value and message to retrieve warnings and error messages.

Details

CRfill_polygon uses "scanline" method to fill polygon. See CRdraw_polygon for an example.


lorweiuk/CREx documentation built on March 16, 2024, 3:04 a.m.