Exemple #1
0
// SetLineCap is a wrapper around cairo_set_line_cap().
func (v *Context) SetLineCap(lineCap LineCap) {
	C.cairo_set_line_cap(v.native(), C.cairo_line_cap_t(lineCap))
}
Exemple #2
0
func (self *Surface) SetLineCap(line_cap LineCap) {
	C.cairo_set_line_cap(self.context, C.cairo_line_cap_t(line_cap))
}
Exemple #3
0
//SetLineCap sets the line cap style.
//
//Originally cairo_set_line_cap
func (c *Context) SetLineCap(lc lineCap) *Context {
	C.cairo_set_line_cap(c.c, lc.c())
	return c
}