mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 09:55:40 +00:00
op/paint: update documentation to match the removal of PaintOp.Rect
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+3
-3
@@ -3,11 +3,11 @@
|
|||||||
/*
|
/*
|
||||||
Package paint provides drawing operations for 2D graphics.
|
Package paint provides drawing operations for 2D graphics.
|
||||||
|
|
||||||
The PaintOp operation draws the current brush into a rectangular
|
The PaintOp operation fills the current clip with the current brush,
|
||||||
area, taking the current clip path and transformation into account.
|
taking the current transformation into account.
|
||||||
|
|
||||||
The current brush is set by either a ColorOp for a constant color, or
|
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.
|
All color.RGBA values are in the sRGB color space.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user