• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2021 Google LLC
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 SkPathEffectPriv_DEFINED
9 #define SkPathEffectPriv_DEFINED
10 
11 #include "include/core/SkPathEffect.h"
12 
13 // Provides access to internal SkPathEffect APIs
14 class SkPathEffectPriv {
15 public:
16 
ComputeFastBounds(const SkPathEffect * pe,SkRect * bounds)17     static bool ComputeFastBounds(const SkPathEffect* pe, SkRect* bounds) {
18         return pe->computeFastBounds(bounds);
19     }
20 
21 private:
22     SkPathEffectPriv();
23 };
24 
25 #endif // SkPathEffectPriv_DEFINED
26