コード例 #1
0
ファイル: cairo.go プロジェクト: raichu/gotk3
// HasShowTextGlyphs is a wrapper around cairo_surface_has_show_text_glyphs().
func (v *Surface) HasShowTextGlyphs() bool {
	c := C.cairo_surface_has_show_text_glyphs(v.native())
	return gobool(c)
}
コード例 #2
0
ファイル: surface.go プロジェクト: ungerik/go-cairo
func (self *Surface) HasShowTextGlyphs() bool {
	return C.cairo_surface_has_show_text_glyphs(self.surface) != 0
}
コード例 #3
0
ファイル: surface.go プロジェクト: jimmyfrasche/cairo
//HasShowTextGlyphs reports whether this surface uses provided text and cluster
//data when called by a context's ShowTextGlyphs operation.
//
//Even if this method returns false, the ShowTextGlyphs operation will succeed,
//but the extra information will be ignored and the call will be equivalent
//to ShowGlyphs.
//
//Originally cairo_surface_has_show_text_glyphs.
func (e *XtensionSurface) HasShowTextGlyphs() bool {
	return C.cairo_surface_has_show_text_glyphs(e.s) == 1
}