f32

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2026 License: MIT, Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AffineId = f32.AffineId
View Source
var NewAffine2D = f32.NewAffine2D
View Source
var Pt = f32.Pt

Functions

This section is empty.

Types

type Affine2D

type Affine2D = f32.Affine2D

type Point

type Point = f32.Point

func FPt

func FPt(p image.Point) Point

type Rectangle

type Rectangle struct {
	Min, Max Point
}

func FRect

func FRect(r image.Rectangle) Rectangle

func Rect

func Rect(x0, y0, x1, y1 float32) Rectangle

func (Rectangle) Add

func (r Rectangle) Add(p Point) Rectangle

func (Rectangle) Canon

func (r Rectangle) Canon() Rectangle

func (Rectangle) Dx

func (r Rectangle) Dx() float32

func (Rectangle) Dy

func (r Rectangle) Dy() float32

func (Rectangle) Empty

func (r Rectangle) Empty() bool

func (Rectangle) Intersect

func (r Rectangle) Intersect(s Rectangle) Rectangle

func (Rectangle) Round

func (r Rectangle) Round() image.Rectangle

func (Rectangle) Size

func (r Rectangle) Size() Point

func (Rectangle) String

func (r Rectangle) String() string

func (Rectangle) Sub

func (r Rectangle) Sub(p Point) Rectangle

func (Rectangle) Union

func (r Rectangle) Union(s Rectangle) Rectangle

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL