Path.toCairo

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.

class Path
void
toCairo

Parameters

cr cairo.context.Context

a cairo context