paint_diamond


Description:


[ Version ( deprecated = true , deprecated_since = "3.0" ) ]
public void paint_diamond (Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget? widget, string? detail, int x, int y, int width, int height)

Warning: paint_diamond is deprecated since 3.0.

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

Note:

Use cairo instead

Parameters:

style

a Style

cr

a Context

state_type

a state

shadow_type

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


Namespace: Gtk
Package: gtk+-3.0



2022 vala-language.org