mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 01:45:36 +00:00
op/paint: document ImageOp gotcha
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -15,6 +15,9 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// ImageOp sets the brush to an image.
|
// ImageOp sets the brush to an image.
|
||||||
|
//
|
||||||
|
// Note: the ImageOp may keep a reference to the backing image.
|
||||||
|
// See NewImageOp for details.
|
||||||
type ImageOp struct {
|
type ImageOp struct {
|
||||||
// Rect is the section if the backing image to use.
|
// Rect is the section if the backing image to use.
|
||||||
Rect image.Rectangle
|
Rect image.Rectangle
|
||||||
|
|||||||
Reference in New Issue
Block a user