A few changes to reduce the diff
[platform/upstream/libSkiaSharp.git] / include / c / xamarin / sk_x_patheffect.h
1 /*
2  * Copyright 2016 Xamarin 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 // EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL
9 // DO NOT USE -- FOR INTERNAL TESTING ONLY
10
11 #ifndef sk_x_patheffect_DEFINED
12 #define sk_x_patheffect_DEFINED
13
14 #include "sk_types.h"
15 #include "xamarin/sk_x_types.h"
16
17 SK_C_PLUS_PLUS_BEGIN_GUARD
18
19 SK_API void sk_path_effect_unref(sk_path_effect_t* t); 
20 SK_API sk_path_effect_t* sk_path_effect_create_compose(sk_path_effect_t* outer, sk_path_effect_t* inner);
21 SK_API sk_path_effect_t* sk_path_effect_create_sum(sk_path_effect_t* first, sk_path_effect_t* second);
22 SK_API sk_path_effect_t* sk_path_effect_create_discrete(float segLength, float deviation, uint32_t seedAssist /*0*/);
23 SK_API sk_path_effect_t* sk_path_effect_create_corner(float radius);
24 SK_API sk_path_effect_t* sk_path_effect_create_1d_path(const sk_path_t* path, float advance, float phase, sk_path_effect_1d_style_t style);
25 SK_API sk_path_effect_t* sk_path_effect_create_2d_line(float width, const sk_matrix_t* matrix);
26 SK_API sk_path_effect_t* sk_path_effect_create_2d_path(const sk_matrix_t* matrix, const sk_path_t* path);
27 SK_API sk_path_effect_t* sk_path_effect_create_dash(const float intervals[], int count, float phase);
28
29 SK_C_PLUS_PLUS_END_GUARD
30
31 #endif