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, with an arrow angle from 0 to 2 * Pi, being 0 the arrow pointing to the north
x -- a number, coerced to a double float, with the x origin of the render area
y -- a number, coerced to a double float, with the y origin of the render area
size -- a number, coerced to a double float, with the square side for 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

#2023-9-17