render_arrow


Description:

[ CCode ( cname = "gtk_render_arrow" ) ]
[ Version ( since = "3.0" ) ]
public void render_arrow (Context cr, double angle, double x, double y, double size)

Renders an arrow pointing to angle.

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

![](arrows.png)

Parameters:

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

context

a StyleContext