// void cairo_show_glyphs (cairo_t *cr, const cairo_glyph_t *glyphs, int num_glyphs); func (self *Surface) ShowGlyphs(glyphs []Glyph) { C.cairo_show_glyphs(self.context, (*C.cairo_glyph_t)(unsafe.Pointer(&glyphs[0])), C.int(len(glyphs))) }
//ShowGlyphs draws a shape generated from gylphs rendered according //to the current Font, font matrix, and FontOptions. // //Originally cairo_show_glyphs. func (c *Context) ShowGlyphs(glyphs []Glyph) *Context { gs, n := XtensionGlyphsGotoC(glyphs, false) C.cairo_show_glyphs(c.c, gs, n) return c }