paintDiamond
fn
void 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
style | a #GtkStyle |
cr | a #cairo_t |
stateType | a state |
shadowType | the type of shadow to draw |
widget | the widget |
detail | a style detail |
x | x origin of the rectangle to draw the diamond in |
y | y origin of the rectangle to draw the diamond in |
width | width of the rectangle to draw the diamond in |
height | height of the rectangle to draw the diamond in |
Deprecated
Use cairo instead