f32

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MIT, Unlicense Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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