//PangoLayout *pango_layout_new (PangoContext *context); func LayoutNew(context *Context) *Layout { c := C.pango_layout_new(context.native()) layout := new(Layout) layout.pangoLayout = (*C.PangoLayout)(c) return layout }
func NewLayout(ctx *Context) *Layout { return &Layout{C.pango_layout_new(ctx.GContext)} }