Learn R Programming

RGtk2 (version 2.20.31)

gdkDrawLine: gdkDrawLine

Description

Draws a line, using the foreground color and other attributes of the GdkGC.

Usage

gdkDrawLine(object, gc, x1, y1, x2, y2)

Arguments

object
gc
x1
the x coordinate of the start point.
y1
the y coordinate of the start point.
x2
the x coordinate of the end point.
y2
the y coordinate of the end point.