github.com/cybriq/giocore@v0.0.7-0.20210703034601-cfb9cb5f3900/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,
     7  taking the current transformation into account.
     8  
     9  The current brush is set by either a ColorOp for a constant color, or
    10  ImageOp for an image, or LinearGradientOp for gradients.
    11  
    12  All color.NRGBA values are in the sRGB color space.
    13  */
    14  package paint