Documentation
¶
Index ¶
Constants ¶
View Source
const ( CompositeAll = internal.CompositeAll CompositeBlendOnly = internal.CompositeBlendOnly CompositeBlendAndDst = internal.CompositeBlendAndDst CompositeBlendAndSrc = internal.CompositeBlendAndSrc )
View Source
const (
Add = LinearDodge
)
Aliases for BlendModes defined above.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlendCompositing ¶
type BlendCompositing = internal.BlendCompositing
type BlendOp ¶
type BlendOp struct {
Mode BlendMode
Compositing BlendCompositing
}
func (BlendOp) ApplyNRGBA ¶
func (o BlendOp) ApplyNRGBA(pixIter core.PixelIterator, calc core.PixCalculator[*image.NRGBA]) *image.NRGBA
type CompositeMode ¶
type CompositeMode int
const ( Clear CompositeMode = iota Source SourceOver SourceIn SourceOut SourceAtop Destination DestinationOver DestinationIn DestinationOut DestinationAtop Xor )
type CompositeOp ¶
type CompositeOp struct {
Mode CompositeMode
}
func (CompositeOp) ApplyNRGBA ¶
func (o CompositeOp) ApplyNRGBA(p core.PixelIterator, c core.PixCalculator[*image.NRGBA]) *image.NRGBA
func (CompositeOp) ApplyRGBA ¶
func (o CompositeOp) ApplyRGBA(p core.PixelIterator, c core.PixCalculator[*image.RGBA]) *image.RGBA
func (CompositeOp) IsValid ¶
func (o CompositeOp) IsValid() bool
Click to show internal directories.
Click to hide internal directories.