Picasso API  2.8
Functions

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. More...
 
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. More...
 
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. More...
 
PEXPORT void PICAPI ps_clear (ps_context *ctx)
 Clear the current context with source color. More...
 

Detailed Description

Function Documentation

◆ ps_clear()

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

◆ ps_fill()

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

◆ ps_paint()

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

◆ ps_stroke()

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