func LayoutPath(cr0 *cairo.Context, layout0 pango.LayoutLike) { var cr1 *C.cairoContext var layout1 *C.PangoLayout if cr0 != nil { cr1 = (*C.cairoContext)(cr0.C) } if layout0 != nil { layout1 = layout0.InheritedFromPangoLayout() } C.pango_cairo_layout_path(cr1, layout1) }
//void pango_cairo_layout_path (cairo_t *cr, // PangoLayout *layout); func CairoLayoutPath(cr *cairo.Context, layout *Layout) { C.pango_cairo_layout_path(cairo_context(cr), layout.native()) }