Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
op/paint: document ImageOp gotcha
Browse files Browse the repository at this point in the history
Signed-off-by: Elias Naur <mail@eliasnaur.com>
  • Loading branch information
eliasnaur committed May 14, 2020
1 parent b7ba809 commit 29c9b06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions op/paint/paint.go
Expand Up @@ -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
Expand Down

0 comments on commit 29c9b06

Please sign in to comment.