Path.toCairo

void toCairo(cairo.context.Context cr)

Appends the given path to the given cairo context for drawing with Cairo.

This may cause some suboptimal conversions to be performed as Cairo does not support all features of [gsk.path.Path].

This function does not clear the existing Cairo path. Call [cairo.context.Context.newPath] if you want this.

Parameters

cra cairo context