CRfill_circle: Draws a filled circle.

View source: R/CRfill_circle.R

CRfill_circleR Documentation

Draws a filled circle.

Description

Draws a filled circle defined in circle_list to rendering target. Circle is defined in terms of center point (centerx, centery) and radius.

Usage

CRfill_circle(graphics_list, circle_list, 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.

status

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

Details

CRfill_circle uses Bresenham's algorithm.

Examples

    CRfill_circle( mygraphics, list(centerx = 50, centery = 50, radius = 150) )

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