CRdraw_circle: Draws outline of a circle.

View source: R/CRdraw_circle.R

CRdraw_circleR Documentation

Draws outline of a circle.

Description

Draws outline of a cirlce to rendering target. Circle is defined in a circle_list as centerx, centery and radius.

Usage

CRdraw_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, centery, radius.

status

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

Details

CRdraw_circle uses Bresenham's algorithm.

Examples

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

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