Picasso API
2.2
|
Functions | |
PEXPORT void PICAPI | ps_set_source_color (ps_context *ctx, const ps_color *color) |
Set a Color to the context, it is used to fill a graphic object. | |
PEXPORT void PICAPI | ps_set_source_image (ps_context *ctx, const ps_image *image) |
Set a image to the context, it is used to fill a graphic object. | |
PEXPORT void PICAPI | ps_set_source_pattern (ps_context *ctx, const ps_pattern *pattern) |
Set a pattern to the context, it is used to fill a graphic object. | |
PEXPORT void PICAPI | ps_set_source_gradient (ps_context *ctx, const ps_gradient *gradient) |
Set a gradient to the context, it is used to fill a graphic object. | |
PEXPORT void PICAPI | ps_set_source_canvas (ps_context *ctx, const ps_canvas *canvas) |
Set a canvas to the context, it is used to fill a graphic object. |
void ps_set_source_canvas | ( | ps_context * | ctx, |
const ps_canvas * | canvas | ||
) |
Set a canvas to the context, it is used to fill a graphic object.
ctx | Pointer to an existing context object. |
canvas | The canvas to be set. |
void ps_set_source_color | ( | ps_context * | ctx, |
const ps_color * | color | ||
) |
Set a Color to the context, it is used to fill a graphic object.
ctx | Pointer to an existing context object. |
color | The color to be set. |
void ps_set_source_gradient | ( | ps_context * | ctx, |
const ps_gradient * | gradient | ||
) |
Set a gradient to the context, it is used to fill a graphic object.
ctx | Pointer to an existing context object. |
gradient | The gradient to be set. |
void ps_set_source_image | ( | ps_context * | ctx, |
const ps_image * | image | ||
) |
Set a image to the context, it is used to fill a graphic object.
ctx | Pointer to an existing context object. |
image | The image to be set. |
void ps_set_source_pattern | ( | ps_context * | ctx, |
const ps_pattern * | pattern | ||
) |
Set a pattern to the context, it is used to fill a graphic object.
ctx | Pointer to an existing context object. |
pattern | The pattern to be set. |