Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Sk2DPathEffect.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 Sk2DPathEffect_DEFINED
9#define Sk2DPathEffect_DEFINED
10
14
15class SkMatrix;
16class SkPath;
17class SkPathEffect;
18
20public:
21 static sk_sp<SkPathEffect> Make(SkScalar width, const SkMatrix& matrix);
22
23 static void RegisterFlattenables();
24};
25
27public:
28 static sk_sp<SkPathEffect> Make(const SkMatrix& matrix, const SkPath& path);
29
30 static void RegisterFlattenables();
31};
32
33#endif
#define SK_API
Definition SkAPI.h:35
static std::unique_ptr< SkEncoder > Make(SkWStream *dst, const SkPixmap *src, const SkYUVAPixmaps *srcYUVA, const SkColorSpace *srcYUVAColorSpace, const SkJpegEncoder::Options &options)
float SkScalar
Definition extension.cpp:12
int32_t width