Flutter Engine
The Flutter Engine
third_party
skia
include
effects
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
17
/** \class SkCornerPathEffect
18
19
SkCornerPathEffect is a subclass of SkPathEffect that can turn sharp corners
20
into various treatments (e.g. rounded corners)
21
*/
22
class
SK_API
SkCornerPathEffect
{
23
public
:
24
/** radius must be > 0 to have an effect. It specifies the distance from each corner
25
that should be "rounded".
26
*/
27
static
sk_sp<SkPathEffect>
Make
(
SkScalar
radius);
28
29
static
void
RegisterFlattenables();
30
};
31
32
#endif
SK_API
#define SK_API
Definition:
SkAPI.h:35
SkRefCnt.h
SkScalar.h
SkTypes.h
SkCornerPathEffect
Definition:
SkCornerPathEffect.h:22
SkPathEffect
Definition:
SkPathEffect.h:35
sk_sp< SkPathEffect >
SkScalar
float SkScalar
Definition:
extension.cpp:12
SkMultiPictureDocument::Make
SK_API sk_sp< SkDocument > Make(SkWStream *dst, const SkSerialProcs *=nullptr, std::function< void(const SkPicture *)> onEndPage=nullptr)
Definition:
SkMultiPictureDocument.cpp:150
Generated on Sun Jun 23 2024 21:56:02 for Flutter Engine by
1.9.4