image

package
v0.0.0-...-7dce3b2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PainterRGBA

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

PainterRGBA paints over the RGBA image using any image as a source

func NewImagePainterRGBA

func NewImagePainterRGBA(rgba *image.RGBA, src image.Image) *PainterRGBA

NewImagePainterRGBA creates a new RGBA painter instance

func (*PainterRGBA) Paint

func (ip *PainterRGBA) Paint(ss []raster.Span, done bool)

Paint uses fragments of source image and paints them over RGBA image

Jump to

Keyboard shortcuts

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