graphics

package
v0.0.0-...-38d74a0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: LGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorDodge

func ColorDodge(base, blend image.Image) *image.RGBA

func DrawRoundedImage

func DrawRoundedImage(dc *gg.Context, src []byte, x, y, w, h, r float64) error

func DrawText

func DrawText(dc *gg.Context, tr *utils.TextRect)

func GenerateBanner

func GenerateBanner(t BannerType, title, subtitle string, images [][]byte) ([]byte, error)

Types

type BannerType

type BannerType string
const (
	Top5       BannerType = "top5"
	Rising     BannerType = "rising"
	HiddenGems BannerType = "hidden_gems"
	Reopened   BannerType = "reopened_slots"
)

type TemporaryText

type TemporaryText struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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