paintDiamond

fnvoid paintDiamond(gtk.style.Style style, cairo.context.Context cr, gtk.types.StateType stateType, gtk.types.ShadowType shadowType, gtk.widget.Widget widget, string detail, int x, int y, int width, int height)

Draws a diamond in the given rectangle on window using the given parameters.

Parameters

stylea #GtkStyle
cra #cairo_t
stateTypea state
shadowTypethe type of shadow to draw
widgetthe widget
detaila style detail
xx origin of the rectangle to draw the diamond in
yy origin of the rectangle to draw the diamond in
widthwidth of the rectangle to draw the diamond in
heightheight of the rectangle to draw the diamond in

Deprecated

Use cairo instead