CRfill_circle_n: Draws a filled circle with limited precision.

View source: R/CRfill_circle_n.R

CRfill_circle_nR Documentation

Draws a filled circle with limited precision.

Description

Draws a filled circle defined in circle_list to rendering target. Circle is defined in terms of center point (centerx, centery) and radius. Precision is set by user (n_points). Precision determines how many line segments the circle's outline consists of.

Usage

CRfill_circle_n(graphics_list, circle_list, n_points, status = NULL)

Arguments

graphics_list

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

circle_list

List defining circle, containing elements centerx and centery as well as radius.

n_points

Positive integer setting precision of circle.

status

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

Details

CRfill_circle_n divides circle into trapezoids and fills those line-by-line.


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