mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +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.
|
||||
//
|
||||
// Note: the ImageOp may keep a reference to the backing image.
|
||||
// See NewImageOp for details.
|
||||
type ImageOp struct {
|
||||
// Rect is the section if the backing image to use.
|
||||
Rect image.Rectangle
|
||||
|
||||
Reference in New Issue
Block a user