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