Skia
2D Graphics Library
SkCornerPathEffect.h
Go to the documentation of this file.
1 /*
2  * Copyright 2006 The Android Open Source Project
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 SkCornerPathEffect_DEFINED
9 #define SkCornerPathEffect_DEFINED
10 
11 #include "include/core/SkRefCnt.h"
12 #include "include/core/SkScalar.h"
13 #include "include/core/SkTypes.h"
14 
15 class SkPathEffect;
16 
22 class SK_API SkCornerPathEffect {
23 public:
28 
29  static void RegisterFlattenables();
30 };
31 
32 #endif
float SkScalar
Definition: SkScalar.h:14
SkCornerPathEffect is a subclass of SkPathEffect that can turn sharp corners into various treatments ...
Definition: SkCornerPathEffect.h:22
static void RegisterFlattenables()
static sk_sp< SkPathEffect > Make(SkScalar radius)
radius must be > 0 to have an effect.
SkPathEffect is the base class for objects in the SkPaint that affect the geometry of a drawing primi...
Definition: SkPathEffect.h:28