mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
e864ac3fc3
Signed-off-by: Elias Naur <mail@eliasnaur.com>
17 lines
554 B
Go
17 lines
554 B
Go
// SPDX-License-Identifier: Unlicense OR MIT
|
|
|
|
/*
|
|
Package clip provides operations for clipping paint operations.
|
|
Drawing outside the current clip area is ignored.
|
|
|
|
The current clip is initially the infinite set. An Op sets the clip
|
|
to the intersection of the current clip and the clip area it
|
|
represents. If you need to reset the current clip to its value
|
|
before applying an Op, use op.StackOp.
|
|
|
|
General clipping areas are constructed with Path. Simpler special
|
|
cases such as rectangular clip areas also exist as convenient
|
|
constructors.
|
|
*/
|
|
package clip
|