Documentation ¶
Index ¶
- func Images() ([]image.Image, error)
- func InitializeGLState() error
- func IsRestoringEnabled() bool
- func ResolveStaleImages() error
- func Restore() error
- type Image
- func (i *Image) At(x, y int) (color.Color, error)
- func (i *Image) Dispose()
- func (i *Image) DrawImage(img *Image, sx0, sy0, sx1, sy1 int, geom *affine.GeoM, colorm *affine.ColorM, ...)
- func (i *Image) IsInvalidated() (bool, error)
- func (i *Image) ReplacePixels(p []byte)
- func (i *Image) Size() (width, height int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeGLState ¶
func InitializeGLState() error
func IsRestoringEnabled ¶
func IsRestoringEnabled() bool
func ResolveStaleImages ¶
func ResolveStaleImages() error
Types ¶
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
func NewVolatileImage ¶
func (*Image) IsInvalidated ¶
func (*Image) ReplacePixels ¶
Click to show internal directories.
Click to hide internal directories.