to_cairo


Description:

public void to_cairo (Context cr)

Appends the path to a 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 new_path if you want this.

Parameters:

this

a path

cr

a cairo context