reddit

package
v0.0.0-...-0ba60c1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

func DrawSubregionToFile

func DrawSubregionToFile(img *image.RGBA, region image.Rectangle, filename string) error

func DrawToFile

func DrawToFile(img *image.RGBA, filename string) error

Types

type Edit

type Edit struct {
	// unused fields right now, faster to unmarshal without them specified
	Timestamp int64 `parquet:"name=timestamp, type=INT64, convertedtype=TIMESTAMP"`
	// UserID    int   `parquet:"name=user_id, type=INT64"`
	Color int32 `parquet:"name=rgb, type=INT32"`
	X1    int32 `parquet:"name=x1, type=INT32, convertedtype=INT_16"`
	Y1    int32 `parquet:"name=y1, type=INT32, convertedtype=INT_16"`
	X2    int32 `parquet:"name=x2, type=INT32, convertedtype=INT_16"`
	Y2    int32 `parquet:"name=y2, type=INT32, convertedtype=INT_16"`
}

func (Edit) GetColor

func (e Edit) GetColor() color.Color

func (Edit) IsMod

func (e Edit) IsMod() bool

func (Edit) Overlaps

func (e Edit) Overlaps(rect image.Rectangle) bool

Jump to

Keyboard shortcuts

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