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 [GdkDrawable] a GdkDrawable (a GdkWindow or a GdkPixmap).
gc [GdkGC] a GdkGC.
x1 [integer] the x coordinate of the start point.
y1 [integer] the y coordinate of the start point.
x2 [integer] the x coordinate of the end point.
y2 [integer] the y coordinate of the end point.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]