type image.Point
83 uses
image (current package)
geom.go#L14: type Point struct {
geom.go#L19: func (p Point) String() string {
geom.go#L24: func (p Point) Add(q Point) Point {
geom.go#L25: return Point{p.X + q.X, p.Y + q.Y}
geom.go#L29: func (p Point) Sub(q Point) Point {
geom.go#L30: return Point{p.X - q.X, p.Y - q.Y}
geom.go#L34: func (p Point) Mul(k int) Point {
geom.go#L35: return Point{p.X * k, p.Y * k}
geom.go#L39: func (p Point) Div(k int) Point {
geom.go#L40: return Point{p.X / k, p.Y / k}
geom.go#L44: func (p Point) In(r Rectangle) bool {
geom.go#L51: func (p Point) Mod(r Rectangle) Point {
geom.go#L66: func (p Point) Eq(q Point) bool {
geom.go#L73: var ZP Point
geom.go#L76: func Pt(X, Y int) Point {
geom.go#L77: return Point{X, Y}
geom.go#L89: Min, Max Point
geom.go#L108: func (r Rectangle) Size() Point {
geom.go#L109: return Point{
geom.go#L116: func (r Rectangle) Add(p Point) Rectangle {
geom.go#L118: Point{r.Min.X + p.X, r.Min.Y + p.Y},
geom.go#L119: Point{r.Max.X + p.X, r.Max.Y + p.Y},
geom.go#L124: func (r Rectangle) Sub(p Point) Rectangle {
geom.go#L126: Point{r.Min.X - p.X, r.Min.Y - p.Y},
geom.go#L127: Point{r.Max.X - p.X, r.Max.Y - p.Y},
geom.go#L243: if (Point{x, y}).In(r) {
geom.go#L251: if (Point{x, y}).In(r) {
geom.go#L282: return Rectangle{Point{x0, y0}, Point{x1, y1}}
image.go#L107: if !(Point{x, y}.In(p.Rect)) {
image.go#L125: if !(Point{x, y}.In(p.Rect)) {
image.go#L140: if !(Point{x, y}.In(p.Rect)) {
image.go#L153: if !(Point{x, y}.In(p.Rect)) {
image.go#L165: if !(Point{x, y}.In(p.Rect)) {
image.go#L241: if !(Point{x, y}.In(p.Rect)) {
image.go#L261: if !(Point{x, y}.In(p.Rect)) {
image.go#L278: if !(Point{x, y}.In(p.Rect)) {
image.go#L363: if !(Point{x, y}.In(p.Rect)) {
image.go#L378: if !(Point{x, y}.In(p.Rect)) {
image.go#L391: if !(Point{x, y}.In(p.Rect)) {
image.go#L409: if !(Point{x, y}.In(p.Rect)) {
image.go#L490: if !(Point{x, y}.In(p.Rect)) {
image.go#L510: if !(Point{x, y}.In(p.Rect)) {
image.go#L527: if !(Point{x, y}.In(p.Rect)) {
image.go#L549: if !(Point{x, y}.In(p.Rect)) {
image.go#L635: if !(Point{x, y}.In(p.Rect)) {
image.go#L649: if !(Point{x, y}.In(p.Rect)) {
image.go#L657: if !(Point{x, y}.In(p.Rect)) {
image.go#L665: if !(Point{x, y}.In(p.Rect)) {
image.go#L742: if !(Point{x, y}.In(p.Rect)) {
image.go#L756: if !(Point{x, y}.In(p.Rect)) {
image.go#L766: if !(Point{x, y}.In(p.Rect)) {
image.go#L775: if !(Point{x, y}.In(p.Rect)) {
image.go#L854: if !(Point{x, y}.In(p.Rect)) {
image.go#L868: if !(Point{x, y}.In(p.Rect)) {
image.go#L876: if !(Point{x, y}.In(p.Rect)) {
image.go#L886: if !(Point{x, y}.In(p.Rect)) {
image.go#L950: if !(Point{x, y}.In(p.Rect)) {
image.go#L964: if !(Point{x, y}.In(p.Rect)) {
image.go#L974: if !(Point{x, y}.In(p.Rect)) {
image.go#L985: if !(Point{x, y}.In(p.Rect)) {
image.go#L1050: if !(Point{x, y}.In(p.Rect)) {
image.go#L1065: if !(Point{x, y}.In(p.Rect)) {
image.go#L1078: if !(Point{x, y}.In(p.Rect)) {
image.go#L1091: if !(Point{x, y}.In(p.Rect)) {
image.go#L1155: if !(Point{x, y}.In(p.Rect)) {
image.go#L1167: if !(Point{x, y}.In(p.Rect)) {
image.go#L1189: if !(Point{x, y}.In(p.Rect)) {
image.go#L1197: if !(Point{x, y}.In(p.Rect)) {
image.go#L1205: if !(Point{x, y}.In(p.Rect)) {
image.go#L1213: if !(Point{x, y}.In(p.Rect)) {
names.go#L40: func (c *Uniform) Bounds() Rectangle { return Rectangle{Point{-1e9, -1e9}, Point{1e9, 1e9}} }
ycbcr.go#L81: if !(Point{x, y}.In(p.Rect)) {
ycbcr.go#L225: if !(Point{X: x, Y: y}.In(p.Rect)) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |