CRdraw_circles: Draws outline of multiple circles.

View source: R/CRdraw_circles.R

CRdraw_circlesR Documentation

Draws outline of multiple circles.

Description

Draws outline of multiple cirlces to rendering target, circles are defined as circle_lists with centerx, centery and radius.

Usage

CRdraw_circles(graphics_list, circles_list, status = NULL)

Arguments

graphics_list

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

circles_list

List defining circle, containing vector-elements centerx, centery, radius, with each entry representing one circle.

status

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

Details

CRdraw_circles uses Bresenham's algorithm.

Examples

    CRdraw_circles(mygraphics, list(centerx = c(50, 100, 150), centery = c(50, 100, 150), radius = c(50, 150, 250)))

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