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#L123: if !(Point{x, y}.In(p.Rect)) {
image.go#L141: if !(Point{x, y}.In(p.Rect)) {
image.go#L156: if !(Point{x, y}.In(p.Rect)) {
image.go#L169: if !(Point{x, y}.In(p.Rect)) {
image.go#L181: if !(Point{x, y}.In(p.Rect)) {
image.go#L257: if !(Point{x, y}.In(p.Rect)) {
image.go#L277: if !(Point{x, y}.In(p.Rect)) {
image.go#L294: if !(Point{x, y}.In(p.Rect)) {
image.go#L379: if !(Point{x, y}.In(p.Rect)) {
image.go#L394: if !(Point{x, y}.In(p.Rect)) {
image.go#L407: if !(Point{x, y}.In(p.Rect)) {
image.go#L425: if !(Point{x, y}.In(p.Rect)) {
image.go#L506: if !(Point{x, y}.In(p.Rect)) {
image.go#L526: if !(Point{x, y}.In(p.Rect)) {
image.go#L543: if !(Point{x, y}.In(p.Rect)) {
image.go#L565: if !(Point{x, y}.In(p.Rect)) {
image.go#L651: if !(Point{x, y}.In(p.Rect)) {
image.go#L665: if !(Point{x, y}.In(p.Rect)) {
image.go#L673: if !(Point{x, y}.In(p.Rect)) {
image.go#L681: if !(Point{x, y}.In(p.Rect)) {
image.go#L758: if !(Point{x, y}.In(p.Rect)) {
image.go#L772: if !(Point{x, y}.In(p.Rect)) {
image.go#L782: if !(Point{x, y}.In(p.Rect)) {
image.go#L791: if !(Point{x, y}.In(p.Rect)) {
image.go#L870: if !(Point{x, y}.In(p.Rect)) {
image.go#L884: if !(Point{x, y}.In(p.Rect)) {
image.go#L892: if !(Point{x, y}.In(p.Rect)) {
image.go#L902: if !(Point{x, y}.In(p.Rect)) {
image.go#L966: if !(Point{x, y}.In(p.Rect)) {
image.go#L980: if !(Point{x, y}.In(p.Rect)) {
image.go#L990: if !(Point{x, y}.In(p.Rect)) {
image.go#L1001: if !(Point{x, y}.In(p.Rect)) {
image.go#L1066: if !(Point{x, y}.In(p.Rect)) {
image.go#L1081: if !(Point{x, y}.In(p.Rect)) {
image.go#L1094: if !(Point{x, y}.In(p.Rect)) {
image.go#L1107: if !(Point{x, y}.In(p.Rect)) {
image.go#L1171: if !(Point{x, y}.In(p.Rect)) {
image.go#L1183: 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)) {
image.go#L1221: if !(Point{x, y}.In(p.Rect)) {
image.go#L1229: 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.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |