type image.Point
77 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#L274: return Rectangle{Point{x0, y0}, Point{x1, y1}}
image.go#L94: if !(Point{x, y}.In(p.Rect)) {
image.go#L109: if !(Point{x, y}.In(p.Rect)) {
image.go#L122: if !(Point{x, y}.In(p.Rect)) {
image.go#L198: if !(Point{x, y}.In(p.Rect)) {
image.go#L218: if !(Point{x, y}.In(p.Rect)) {
image.go#L235: if !(Point{x, y}.In(p.Rect)) {
image.go#L315: if !(Point{x, y}.In(p.Rect)) {
image.go#L330: if !(Point{x, y}.In(p.Rect)) {
image.go#L343: if !(Point{x, y}.In(p.Rect)) {
image.go#L419: if !(Point{x, y}.In(p.Rect)) {
image.go#L439: if !(Point{x, y}.In(p.Rect)) {
image.go#L456: if !(Point{x, y}.In(p.Rect)) {
image.go#L536: if !(Point{x, y}.In(p.Rect)) {
image.go#L550: if !(Point{x, y}.In(p.Rect)) {
image.go#L558: if !(Point{x, y}.In(p.Rect)) {
image.go#L630: if !(Point{x, y}.In(p.Rect)) {
image.go#L644: if !(Point{x, y}.In(p.Rect)) {
image.go#L654: if !(Point{x, y}.In(p.Rect)) {
image.go#L727: if !(Point{x, y}.In(p.Rect)) {
image.go#L741: if !(Point{x, y}.In(p.Rect)) {
image.go#L749: if !(Point{x, y}.In(p.Rect)) {
image.go#L808: if !(Point{x, y}.In(p.Rect)) {
image.go#L822: if !(Point{x, y}.In(p.Rect)) {
image.go#L832: if !(Point{x, y}.In(p.Rect)) {
image.go#L892: if !(Point{x, y}.In(p.Rect)) {
image.go#L907: if !(Point{x, y}.In(p.Rect)) {
image.go#L920: if !(Point{x, y}.In(p.Rect)) {
image.go#L984: if !(Point{x, y}.In(p.Rect)) {
image.go#L998: if !(Point{x, y}.In(p.Rect)) {
image.go#L1006: if !(Point{x, y}.In(p.Rect)) {
image.go#L1014: 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#L75: if !(Point{x, y}.In(p.Rect)) {
ycbcr.go#L214: if !(Point{X: x, Y: y}.In(p.Rect)) {
image/internal/imageutil
impl.go#L16: func DrawYCbCr(dst *image.RGBA, r image.Rectangle, src *image.YCbCr, sp image.Point) (ok bool) {
image/jpeg
writer.go#L315: func (e *encoder) writeSOF0(size image.Point, nComponent int) {
writer.go#L390: func toYCbCr(m image.Image, p image.Point, yBlock, cbBlock, crBlock *block) {
writer.go#L406: func grayToY(m *image.Gray, p image.Point, yBlock *block) {
writer.go#L420: func rgbaToYCbCr(m *image.RGBA, p image.Point, yBlock, cbBlock, crBlock *block) {
writer.go#L445: func yCbCrToYCbCr(m *image.YCbCr, p image.Point, yBlock, cbBlock, crBlock *block) {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |