Example #1
0
func ellipseFullInv(x, y int, a, b uint) {
	//
	if underX {
		xker.Ellipse(x, y, int(a), int(b), false, true)
		return
	}
	if iok(x, y) {
		if uint(x) >= a && uint(y) >= b {
			ell(x, y, a, b, true, ptinv)
		}
	}
}
Example #2
0
func circleFullInv(x, y int, r uint) {
	//
	if underX {
		xker.Ellipse(x, y, int(r), int(r), false, true)
		return
	}
	if iok(x, y) {
		if uint(x) >= r && uint(y) >= r {
			circ(x, y, r, true, ptinv)
		}
	}
}