Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: include/c/sk_shader.h

Issue 736133006: more c (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright 2014 Google 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_shader_DEFINED
12 #define sk_shader_DEFINED
13
14 #include "sk_types.h"
15
16 SK_C_PLUS_PLUS_BEGIN_GUARD
17
18 void sk_shader_ref(sk_shader_t*);
19 void sk_shader_unref(sk_shader_t*);
20
21 typedef enum {
22 CLAMP_SK_SHADER_TILEMODE,
23 REPEAT_SK_SHADER_TILEMODE,
24 MIRROR_SK_SHADER_TILEMODE,
25 } sk_shader_tilemode_t;
26
27 sk_shader_t* sk_shader_new_linear_gradient(const sk_point_t pts[2],
28 const sk_color_t colors[],
29 const float colorPos[],
30 int colorCount,
31 sk_shader_tilemode_t tileMode,
32 const sk_matrix_t* localMatrix);
33
34
35 SK_C_PLUS_PLUS_END_GUARD
36
37 #endif
OLDNEW
« include/c/sk_matrix.h ('K') | « include/c/sk_paint.h ('k') | include/c/sk_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698