toCairo

fun toCairo(cr: <Error class: unknown class>)(source)

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 GskPath.

This function does not clear the existing Cairo path. Call cairo_new_path() if you want this.

Since

4.14

Parameters

cr

a cairo context