mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35: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.
|
||||
|
||||
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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user