cairoRectangle
Adds a closed sub-path rectangle of the given size to the current
path at position (x
, y
) in user-space coordinates.
cairoRectangle(cr, x, y, width, height)
|
[ |
|
[numeric] the X coordinate of the top left corner of the rectangle |
|
[numeric] the Y coordinate to the top left corner of the rectangle |
|
[numeric] the width of the rectangle |
|
[numeric] the height of the rectangle |
This function is logically equivalent to:
cr$moveTo(x, y) cr$relLineTo(width, 0) cr$relLineTo(0, height) cr$relLineTo(-width, 0) cr$closePath()
Derived by RGtkGen from GTK+ documentation
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.