Documentation ¶
Index ¶
- Variables
- func BestFitFloat(dynamicScale bool, layoutWidth, layoutHeight int, renderWidth float64, ...) float64
- func BestFitInt(dynamicScale bool, layoutWidth, layoutHeight int, renderWidth float64, ...) int
- func CubicOutInterp(a, b, t float64) float64
- func CubicSmoothstepInterp(a, b, t float64) float64
- func EaseInQuad(t float64) float64
- func EaseOutCubic(t float64) float64
- func EaseOutQuad(t float64) float64
- func FillOver(target *ebiten.Image, fillColor color.Color)
- func FillOverRect(target *ebiten.Image, bounds image.Rectangle, fillColor color.Color)
- func FillOverRectF32(target *ebiten.Image, minX, minY, maxX, maxY float32, fillColor color.Color)
- func GetCurrentZoom() float64
- func GetResolution() (int, int)
- func GetTPU() uint64
- func GetUPS() int
- func LinearInterp(a, b, t float64) float64
- func QuadDvInOut(t float64) float64
- func QuadInOut(t float64) float64
- func QuadInOutInterp(a, b, t float64) float64
- func RollPointWithinEllipse(width, height float64) (float64, float64)
- func TAt(x, a, b float64) float64
- type Spring
- type TicksDuration
Constants ¶
This section is empty.
Variables ¶
View Source
var BridgedCameraOrigin image.Point
View Source
var BridgedLogicalHeight int
View Source
var BridgedLogicalWidth int
View Source
var CurrentTPU uint64 // ticks per update
View Source
var CurrentZoom float64
Functions ¶
func BestFitFloat ¶
func BestFitInt ¶
func CubicOutInterp ¶
func CubicSmoothstepInterp ¶
func EaseInQuad ¶
func EaseOutCubic ¶
func EaseOutQuad ¶
func FillOverRect ¶
func FillOverRectF32 ¶
func GetCurrentZoom ¶
func GetCurrentZoom() float64
func GetResolution ¶
func LinearInterp ¶
func QuadDvInOut ¶
func QuadInOutInterp ¶
func RollPointWithinEllipse ¶
Types ¶
type Spring ¶
type Spring struct {
// contains filtered or unexported fields
}
func (*Spring) IsInitialized ¶
func (*Spring) SetParameters ¶
type TicksDuration ¶
type TicksDuration uint32
Click to show internal directories.
Click to hide internal directories.