Package: gtk

Function gtk:snapshot-push-shadow

Lambda List

gtk:snapshot-push-shadow (snapshot shadows)

Arguments

snapshot -- a gtk:snapshot object
shadows -- a list of the form '((color1 dx1 dy1 radius1) (color2 dx2 dy2 radius2) ...) with the shadows to apply
color -- a gdk:rgba instance for the color of the shadow
dx -- a number coerced to a single float for the horizontal offset of the shadow
dy -- a number coerced to a single float for the vertical offset of the shadow
radius -- a number coerced to a single float for the radius of the shadow

Details

Applies a shadow to an image. The image is recorded until the next call to the gtk:snapshot-pop function.
 

See also

2025-2-12