OLD | NEW |
---|---|
(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 #ifndef SkDistanceFieldGen_DEFINED | |
8 #define SkDistanceFieldGen_DEFINED | |
9 | |
10 // this assumes the client has already allocated the necessary space in distance Field | |
bsalomon
2014/03/10 17:58:41
It seems like this could use some more descriptive
jvanverth1
2014/03/10 18:42:06
Done.
| |
11 bool SkGenerateDistanceFieldFromImage(unsigned char* distanceField, | |
12 unsigned char* image, | |
13 int w, int h, | |
14 int distanceMagnitude); | |
15 | |
16 #endif | |
OLD | NEW |