Function

Gtkrender_arrow

since: 3.0

Declaration [src]

void
gtk_render_arrow (
  GtkStyleContext* context,
  cairo_t* cr,
  gdouble angle,
  gdouble x,
  gdouble y,
  gdouble size
)

Description [src]

Renders an arrow pointing to angle.

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

Available since: 3.0

Parameters

context

Type: GtkStyleContext

A GtkStyleContext.

The data is owned by the caller of the function.
cr

Type: cairo_t

A #cairo_t.

The data is owned by the caller of the function.
angle

Type: gdouble

Arrow angle from 0 to 2 * G_PI, being 0 the arrow pointing to the north.

x

Type: gdouble

X origin of the render area.

y

Type: gdouble

Y origin of the render area.

size

Type: gdouble

Square side for render area.