Exemple #1
0
func (self *Surface) InFill(x, y float64) bool {
	return C.cairo_in_fill(self.context, C.double(x), C.double(y)) != 0
}
Exemple #2
0
func (self *Surface) InFill(x, y float64) bool {
	ret := C.cairo_in_fill(self.context, C.double(x), C.double(y))
	return cairobool2bool(ret)
}
Exemple #3
0
// InFill is a wrapper around cairo_in_fill().
func (v *Context) InFill(x, y float64) bool {
	c := C.cairo_in_fill(v.native(), C.double(x), C.double(y))
	return gobool(c)
}
Exemple #4
0
//InFill reports whether the given point is inside the area that would be
//affected by a Fill, given the current path and filling parameters.
//Surface dimensions and clipping are not taken into account.
//
//Originally cairo_in_fill.
func (c *Context) InFill(pt Point) bool {
	x, y := pt.c()
	return C.cairo_in_fill(c.c, x, y) == 1
}