Documentation ¶
Index ¶
- func ClipToLastN[T any](slice []T, n int) []T
- func DecodeFromBase64AndUngzip(data string) ([]byte, error)
- func DecodeFromCh426AndUngzip(data string) ([]byte, error)
- func EqualRunes(slice []rune, target string) bool
- func FillOver(target *ebiten.Image, fillColor color.Color)
- func FillOverRect(target *ebiten.Image, bounds image.Rectangle, fillColor color.Color)
- func FillOverRectLighter(target *ebiten.Image, bounds image.Rectangle, fillColor color.Color)
- func FmtTicksToTimeStrCents(ticks int) string
- func FmtTicksToTimeStrSecs(ticks int) string
- func GzipAndEncodeAsBase64(data []byte) (string, error)
- func GzipAndEncodeAsCh426(data []byte) (string, error)
- func ProjectNearest(logicalCanvas, canvas *ebiten.Image) *ebiten.Image
- func ProjectPixelPerfect(logicalCanvas, canvas *ebiten.Image) *ebiten.Image
- func ProjectStretched(logicalCanvas, canvas *ebiten.Image)
- func RGBAf64(r, g, b, a float64) color.RGBA
- func ReadClipboard() string
- func Rect(ox, oy, fx, fy int) image.Rectangle
- func SetMaxMultRawWindowSize(width, height int, logicalMargin int)
- func SetRawWindowSize(width, height int, logicalMargin int) bool
- func WithAlpha(clr color.RGBA, newAlpha uint8) color.RGBA
- func WriteClipboard(text string)
- type Blinker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClipToLastN ¶ added in v0.0.3
func EqualRunes ¶ added in v0.0.3
func FillOverRect ¶
func FillOverRectLighter ¶
func FmtTicksToTimeStrCents ¶ added in v0.0.3
func FmtTicksToTimeStrSecs ¶ added in v0.0.3
func GzipAndEncodeAsBase64 ¶
func GzipAndEncodeAsCh426 ¶
func ProjectNearest ¶
func ProjectNearest(logicalCanvas, canvas *ebiten.Image) *ebiten.Image
func ProjectPixelPerfect ¶
func ProjectPixelPerfect(logicalCanvas, canvas *ebiten.Image) *ebiten.Image
Unless you are on macOS, of course.
func ProjectStretched ¶
func ProjectStretched(logicalCanvas, canvas *ebiten.Image)
func ReadClipboard ¶
func ReadClipboard() string
func SetMaxMultRawWindowSize ¶
func SetRawWindowSize ¶
Returns false if the window size is too big.
func WriteClipboard ¶
func WriteClipboard(text string)
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.