2 * Copyright 2016 Xamarin Inc.
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
8 // EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL
9 // DO NOT USE -- FOR INTERNAL TESTING ONLY
11 #ifndef sk_x_patheffect_DEFINED
12 #define sk_x_patheffect_DEFINED
15 #include "xamarin/sk_x_types.h"
17 SK_C_PLUS_PLUS_BEGIN_GUARD
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);
29 SK_C_PLUS_PLUS_END_GUARD