Picasso API  2.2
Functions
Paint
Drawing

Functions

PEXPORT void PICAPI ps_stroke (ps_context *ctx)
 Stroke the current path according to the line attributes. After called, the current path will be cleared from the context.
PEXPORT void PICAPI ps_fill (ps_context *ctx)
 Fill the current path according to the source attributes. After called, the current path will be cleared from the context.
PEXPORT void PICAPI ps_paint (ps_context *ctx)
 Fill and stroke the current path according to the source and line attributes. After called, the current path will be cleared from the context.
PEXPORT void PICAPI ps_clear (ps_context *ctx)
 Clear the current context with source color.

Function Documentation

void ps_clear ( ps_context ctx)

Clear the current context with source color.

Parameters:
ctxPointer to an existing context object.
See also:
ps_stroke, ps_fill, ps_paint
void ps_fill ( ps_context ctx)

Fill the current path according to the source attributes. After called, the current path will be cleared from the context.

Parameters:
ctxPointer to an existing context object.
See also:
ps_stroke, ps_paint, ps_clear
void ps_paint ( ps_context ctx)

Fill and stroke the current path according to the source and line attributes. After called, the current path will be cleared from the context.

Parameters:
ctxPointer to an existing context object.
See also:
ps_stroke, ps_fill, ps_clear
void ps_stroke ( ps_context ctx)

Stroke the current path according to the line attributes. After called, the current path will be cleared from the context.

Parameters:
ctxPointer to an existing context object.
See also:
ps_fill, ps_paint, ps_clear