doc.go raw

   1  // SPDX-License-Identifier: Unlicense OR MIT
   2  
   3  /*
   4  Package clip provides operations for clipping paint operations.
   5  Drawing outside the current clip area is ignored.
   6  
   7  The current clip is initially the infinite set. An Op sets the clip
   8  to the intersection of the current clip and the clip area it
   9  represents. If you need to reset the current clip to its value
  10  before applying an Op, use op.StackOp.
  11  
  12  General clipping areas are constructed with Path. Simpler special
  13  cases such as rectangular clip areas also exist as convenient
  14  constructors.
  15  */
  16  package clip
  17