|
Picasso API
2.8
|
Functions | |
| PEXPORT void PICAPI | ps_set_shadow (ps_context *ctx, float x_offset, float y_offset, float blur) |
| Enables shadowing in a context. More... | |
| PEXPORT void PICAPI | ps_set_shadow_color (ps_context *ctx, const ps_color *color) |
| Set the color of shadow. Default is a black color with 1/3 alpha. More... | |
| PEXPORT void PICAPI | ps_reset_shadow (ps_context *ctx) |
| Disables shadowing in a context. More... | |
| void ps_reset_shadow | ( | ps_context * | ctx | ) |
Disables shadowing in a context.
| ctx | Pointer to an existing context object. |
| void ps_set_shadow | ( | ps_context * | ctx, |
| float | x_offset, | ||
| float | y_offset, | ||
| float | blur | ||
| ) |
Enables shadowing in a context.
| ctx | Pointer to an existing context object. |
| x_offset | Offset on horizontal from origin (0,0). |
| y_offset | Offset on vertical from origin (0,0). |
| blur | Specifying the amount of blur (0 ~ 1). |
| void ps_set_shadow_color | ( | ps_context * | ctx, |
| const ps_color * | color | ||
| ) |
Set the color of shadow. Default is a black color with 1/3 alpha.
| ctx | Pointer to an existing context object. |
| color | Specifies the color of the shadow. |
1.8.17