ref: b25af47c45adcaef27ae241623f40208c53a1866 gio/ui/paint/doc.go -rw-r--r-- 471 bytes View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: Unlicense OR MIT

/*
Package paint provides operations for 2D graphics.

The PaintOp operation draws the current material into a rectangular
area, taking the current clip path and transformation into account.

The material is set by either a ColorOp for a constant color, or
ImageOp for an image.

The ClipOp operation sets the clip path. Drawing outside the clip
path is ignored. A path is a closed shape of lines or curves.
*/
package paint