Package: gtk

Function gtk:render-arrow

Lambda List

gtk:render-arrow (context cr angle x y size)

Arguments

context -- a gtk:style-context object
cr -- a cairo:context-t context
angle -- a number coerced to a double float for the arrow angle from 0 to 2 * Pi, being 0 the arrow pointing to the north
x -- a number coerced to a double float for the x origin of the render area
y -- a number coerced to a double float for the y origin of the render area
size -- a number coerced to a double float for the square side of the render area

Details

Renders an arrow pointing to an angle.

Typical arrow rendering at 0, 1/2 Pi, Pi, and 3/2 Pi:

Warning

This function is deprecated since 4.10. Please do not use it in newly written code.
 

See also

#2025-07-26