Function gtk4::render_arrow

source ·
pub fn render_arrow(
    context: &impl IsA<StyleContext>,
    cr: &Context,
    angle: f64,
    x: f64,
    y: f64,
    size: f64
👎Deprecated: Since 4.10
Expand description

Renders an arrow pointing to @angle.

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

§Deprecated since 4.10


a StyleContext


a cairo::Context


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


X origin of the render area


Y origin of the render area


square side for render area