示例#1
0
// void cairo_pattern_set_extend (cairo_pattern_t *pattern, cairo_extend_t extend);
func (self *Pattern) SetExtend(extend Extend) {
	C.cairo_pattern_set_extend(self.pattern, C.cairo_extend_t(extend))
}
示例#2
0
//SetExtend sets the mode used for drawing outside the area of this pattern.
//
//Originally cairo_pattern_set_extend.
func (p *XtensionPattern) SetExtend(e extend) {
	C.cairo_pattern_set_extend(p.p, e.c())
}