github.com/utopiagio/gio@v0.0.8/op/paint/doc.go (about)

     1  // SPDX-License-Identifier: Unlicense OR MIT
     2  
     3  /*
     4  Package paint provides drawing operations for 2D graphics.
     5  
     6  The PaintOp operation fills the current clip with the current brush, taking the
     7  current transformation into account. Drawing outside the current clip area is
     8  ignored.
     9  
    10  The current brush is set by either a ColorOp for a constant color, or
    11  ImageOp for an image, or LinearGradientOp for gradients.
    12  
    13  All color.NRGBA values are in the sRGB color space.
    14  */
    15  package paint