Method

GtkSnapshotappend_outset_shadow

Declaration [src]

void
gtk_snapshot_append_outset_shadow (
  GtkSnapshot* snapshot,
  const GskRoundedRect* outline,
  const GdkRGBA* color,
  float dx,
  float dy,
  float spread,
  float blur_radius
)

Description [src]

Appends an outset shadow node around the box given by outline.

Parameters

outline GskRoundedRect
 

Outline of the region surrounded by shadow.

 The data is owned by the caller of the function.
color GdkRGBA
 

Color of the shadow.

 The data is owned by the caller of the function.
dx float
 

Horizontal offset of shadow.

dy float
 

Vertical offset of shadow.

spread float
 

How far the shadow spreads towards the outside.

blur_radius float
 

How much blur to apply to the shadow.