Function

Gtk-4.0Gtkrender_lineDeprecated 4.10

  • Renders a line from (x0, y0) to (x1, y1).

    Parameters

    • Deprecatedcontext: Gtk.StyleContext
    • Deprecatedcr: default.Context

      a cairo_t

    • Deprecatedx0: number

      X coordinate for the origin of the line

    • Deprecatedy0: number

      Y coordinate for the origin of the line

    • Deprecatedx1: number

      X coordinate for the end of the line

    • Deprecatedy1: number

      Y coordinate for the end of the line

    Returns void

    since 4.10