From 31acd5451e035caa38bcf475eefc67c1bac6d5e3 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Thu, 14 May 2020 13:44:36 +0200 Subject: [PATCH] op/paint: further clarify PaintOp documentation Signed-off-by: Elias Naur --- op/paint/paint.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/op/paint/paint.go b/op/paint/paint.go index d9ece850..b4a9a56b 100644 --- a/op/paint/paint.go +++ b/op/paint/paint.go @@ -36,11 +36,11 @@ type ColorOp struct { Color color.RGBA } -// PaintOp draws the current brush, respecting the -// clip path and transformation. +// PaintOp fills an area with the current brush, respecting the +// current clip path and transformation. type PaintOp struct { - // The destination rectangle to paint. If necessary, the brush is resized to - // cover it. + // Rect is the destination area to paint. If necessary, the brush is + // scaled to cover the rectangle area. Rect f32.Rectangle }