Learn R Programming

RGtk2 (version 2.12.17)

gdkDrawArc: gdkDrawArc

Description

Draws an arc or a filled 'pie slice'. The arc is defined by the bounding rectangle of the entire ellipse, and the start and end angles of the part of the ellipse to be drawn.

Usage

gdkDrawArc(object, gc, filled, x, y, width, height, angle1, angle2)

Arguments

filled
[logical] TRUE if the arc should be filled, producing a 'pie slice'.
x
[integer] the x coordinate of the left edge of the bounding rectangle.
y
[integer] the y coordinate of the top edge of the bounding rectangle.
width
[integer] the width of the bounding rectangle.
height
[integer] the height of the bounding rectangle.
angle1
[integer] the start angle of the arc, relative to the 3 o'clock position, counter-clockwise, in 1/64ths of a degree.
angle2
[integer] the end angle of the arc, relative to angle1, in 1/64ths of a degree.