Documentation
¶
Index ¶
- func ColorOp(ops Ctx, col color.NRGBA)
- func GlyphOp(ops Ctx, face *bitmap.Face, r rune)
- func ImageOp(ops Ctx, img image.Image, mask bool)
- func InputOp(ops Ctx, tag Tag)
- func Offset(ops Ctx, off image.Point)
- func ParamImageOp(ops Ctx, img Image, mask bool, bounds image.Rectangle, refs []any, ...)
- func Position(ops Ctx, c CallOp, off image.Point)
- type CallOp
- type ClipOp
- type Ctx
- type Image
- type ImageArguments
- type ImageGenerator
- type Ops
- func (o *Ops) Clip(dst image.Rectangle) image.Rectangle
- func (o *Ops) Context() Ctx
- func (o *Ops) Draw(dst draw.Image, maskfb draw.Image)
- func (o *Ops) ExtractText(dst image.Rectangle) string
- func (o *Ops) Hit(p image.Point) (Tag, image.Rectangle, bool)
- func (o *Ops) Reset()
- func (o *Ops) TagBounds(t Tag) (image.Rectangle, bool)
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParamImageOp ¶ added in v1.3.2
Types ¶
type Image ¶ added in v1.3.2
type Image struct {
// contains filtered or unexported fields
}
func RegisterParameterizedImage ¶ added in v1.3.2
func RegisterParameterizedImage(gen ImageGenerator) Image
type ImageArguments ¶ added in v1.3.2
type ImageGenerator ¶ added in v1.3.2
type ImageGenerator func(args ImageArguments, x, y int) color.RGBA64
Click to show internal directories.
Click to hide internal directories.