Function
StShadownew
Declaration [src]
StShadow*
st_shadow_new (
  CoglColor* color,
  gdouble xoffset,
  gdouble yoffset,
  gdouble blur,
  gdouble spread,
  gboolean inset
)
Parameters
- color
- 
            Type: CoglColorShadow’s color. The data is owned by the caller of the function. 
- xoffset
- 
            Type: gdoubleHorizontal offset. 
- yoffset
- 
            Type: gdoubleVertical offset. 
- blur
- 
            Type: gdoubleBlur radius. 
- spread
- 
            Type: gdoubleSpread radius. 
- inset
- 
            Type: gbooleanWhether the shadow should be inset. 
Return value
Type: StShadow
The newly allocated shadow. Use st_shadow_free() when done.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |