CRdraw_circles: Draws outline of multiple circles.

Description Usage Arguments Details Examples

Description

Draws outline of multiple cirlces to rendering target, circles are defined in terms of center points and radii (list(centerx, centery, radius)).

Usage

1
CRdraw_circles(graphics_list, circles_list)

Arguments

graphics_list

a 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.

Details

CRdraw_circles uses Bresenham's algorithm.

Examples

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

lorweiuk/CREx documentation built on May 30, 2019, 3:44 p.m.