Method
GtkSnapshotappend_inset_shadow
Declaration [src]
void
gtk_snapshot_append_inset_shadow (
GtkSnapshot* snapshot,
const GskRoundedRect* outline,
const GdkRGBA* color,
float dx,
float dy,
float spread,
float blur_radius
)
Parameters
outline
-
Type:
GskRoundedRect
Outline of the region surrounded by shadow.
The data is owned by the caller of the method. color
-
Type:
GdkRGBA
Color of the shadow.
The data is owned by the caller of the method. dx
-
Type:
float
Horizontal offset of shadow.
dy
-
Type:
float
Vertical offset of shadow.
spread
-
Type:
float
How far the shadow spreads towards the inside.
blur_radius
-
Type:
float
How much blur to apply to the shadow.