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

     1  // SPDX-License-Identifier: Unlicense OR MIT
     2  
     3  /*
     4  Package clip provides operations for defining areas that applies to operations
     5  such as paints and pointer handlers.
     6  
     7  The current clip is initially the infinite set. Pushing an Op sets the clip
     8  to the intersection of the current clip and pushed clip area. Popping the
     9  area restores the clip to its state before pushing.
    10  
    11  General clipping areas are constructed with Path. Common cases such as
    12  rectangular clip areas also exist as convenient constructors.
    13  */
    14  package clip