Beispiel #1
0
func ShowGlyphString(cr0 *cairo.Context, font0 pango.FontLike, glyphs0 *pango.GlyphString) {
	var cr1 *C.cairoContext
	var font1 *C.PangoFont
	var glyphs1 *C.PangoGlyphString
	if cr0 != nil {
		cr1 = (*C.cairoContext)(cr0.C)
	}
	if font0 != nil {
		font1 = font0.InheritedFromPangoFont()
	}
	glyphs1 = (*C.PangoGlyphString)(unsafe.Pointer(glyphs0))
	C.pango_cairo_show_glyph_string(cr1, font1, glyphs1)
}
Beispiel #2
0
//void pango_cairo_show_glyph_string (cairo_t          *cr,
//				    PangoFont        *font,
//				    PangoGlyphString *glyphs);
func CairoShowGlyphString(cr *cairo.Context, font *Font, glyphs *GlyphString) {
	C.pango_cairo_show_glyph_string(cairo_context(cr), font.native(), glyphs.native())
}