Package: gtk

Function gtk:render-line

Lambda List

gtk:render-line (context cr x0 y0 x1 y1)

Arguments

context -- a gtk:style-context object
cr -- a cairo:context-t context
x0 -- a number, coerced to a double float, with the x coordinate for the origin of the line
y0 -- a number, coerced to a double float, with the y coordinate for the origin of the line
x1 -- a number, coerced to a double float, with the x coordinate for the end of the line
y1 -- a number, coerced to a double float, with the y coordinate for the end of the line

Details

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

Warning

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

See also

#2023-9-17