gdkDrawLine {RGtk2} | R Documentation

## 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`` | a `GdkDrawable` (a `GdkWindow` or a `GdkPixmap`).
``gc`` | a `GdkGC`.
``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.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]