Struct
StShadow
Description [src]
struct StShadow {
CoglColor color;
gdouble xoffset;
gdouble yoffset;
gdouble blur;
gdouble spread;
gboolean inset;
}
A type representing -st-shadow attributes
StShadow is a boxed type for storing attributes of the -st-shadow
property, modelled liberally after the CSS3 box-shadow property.
See http://www.css3.info/preview/box-shadow/.
Structure members
colorShadow’s color.
xoffsetHorizontal offset - positive values mean placement to the right, negative values placement to the left of the element.
yoffsetVertical offset - positive values mean placement below, negative values placement above the element.
blurShadow’s blur radius - a value of 0.0 will result in a hard shadow.
spreadShadow’s spread radius - grow the shadow without enlarging the blur.
insetNo description available.
Instance methods
st_shadow_equal
Check if two shadow objects are identical. Note that two shadows may compare non-identically if they differ only by floating point rounding errors.
st_shadow_unref
Atomically decrements the reference count of shadow by one.
If the reference count drops to 0, all memory allocated by the
StShadow is released.