xref: /aosp_15_r20/external/skia/src/utils/SkClipStackUtils.h (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1 /*
2 * Copyright 2019 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7 
8 #ifndef SkClipStackUtils_DEFINED
9 #define SkClipStackUtils_DEFINED
10 
11 #include "include/core/SkTypes.h"
12 
13 class SkClipStack;
14 class SkPath;
15 
16 // Return the resolved clipstack as a single path.
17 // Note: uses SkPathOps as part of its implementation.
18 //
19 void SkClipStack_AsPath(const SkClipStack& cs, SkPath* path);
20 
21 #endif
22