Picasso API 2.5

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.
 

Detailed Description

Function Documentation

◆ ps_clear()

PEXPORT void PICAPI 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

◆ ps_fill()

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.

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

◆ ps_paint()

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.

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

◆ ps_stroke()

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.

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