render_arrow


Description:

[ Version ( deprecated_since = "vala-0.16" , deprecated = true , replacement = "StyleContext.render_arrow" ) ]
public void render_arrow (StyleContext context, Context cr, double angle, double x, double y, double size)

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

Renders an arrow pointing to angle.

Typical arrow rendering at 0, 1⁄2 π;, π; and 3⁄2 π:

![](arrows.png)

Parameters:

context

a StyleContext

cr

a Context

angle

arrow angle from 0 to 2 * g_pi, being 0 the arrow pointing to the north

x

X origin of the render area

y

Y origin of the render area

size

square side for render area


Namespace: Gtk
Package: gtk+-3.0