render_line


Description:

[ Version ( deprecated_since = "vala-0.16" , deprecated = true , replacement = "StyleContext.render_line" ) ]
public void render_line (StyleContext context, Context cr, double x0, double y0, double x1, double y1)

Warning: render_line is deprecated since "vala-0.16". Use Gtk.StyleContext.render_line.

Renders a line from (x0, y0) to (x1, y1).

Parameters:

context

a StyleContext

cr

a Context

x0

X coordinate for the origin of the line

y0

Y coordinate for the origin of the line

x1

X coordinate for the end of the line

y1

Y coordinate for the end of the line


Namespace: Gtk
Package: gtk+-3.0