Esempio n. 1
0
// blacklisted: font_map_get_default (function)
// blacklisted: font_map_new (function)
// blacklisted: font_map_new_for_font_type (function)
func GlyphStringPath(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_glyph_string_path(cr1, font1, glyphs1)
}
Esempio n. 2
0
//void pango_cairo_glyph_string_path (cairo_t          *cr,
//				    PangoFont        *font,
//				    PangoGlyphString *glyphs);
func CairoGlyphStringPath(cr *cairo.Context, font *Font, glyphs *GlyphString) {
	C.pango_cairo_glyph_string_path(cairo_context(cr), font.native(), glyphs.native())
}