From 23fa3480c60431243b6bb101c5d5b2f417de85ad Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Mon, 16 Nov 2020 12:54:58 +0100 Subject: [PATCH] op/paint: update documentation to match the removal of PaintOp.Rect Signed-off-by: Elias Naur --- op/paint/doc.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/op/paint/doc.go b/op/paint/doc.go index 3b7859f7..ae69faca 100644 --- a/op/paint/doc.go +++ b/op/paint/doc.go @@ -3,11 +3,11 @@ /* Package paint provides drawing operations for 2D graphics. -The PaintOp operation draws the current brush into a rectangular -area, taking the current clip path and transformation into account. +The PaintOp operation fills the current clip with the current brush, +taking the current transformation into account. The current brush is set by either a ColorOp for a constant color, or -ImageOp for an image. +ImageOp for an image, or LinearGradientOp for gradients. All color.RGBA values are in the sRGB color space. */