OLD | NEW |
---|---|
(Empty) | |
1 /* | |
2 * Copyright 2013 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 #include <SkColor.h> | |
9 | |
10 /** | |
11 * All morphology procs have the same signature: src is the source buffer, dst t he | |
12 * destination buffer, radius is the morphology radius, width and height are the bounds | |
13 * of the destination buffer (in pixels), and srcStride and dstStride are the | |
14 * number of pixels per row in each buffer. All buffers are 8888. | |
15 */ | |
16 | |
17 typedef void (*SkMorphologyProc)(const SkPMColor* src, SkPMColor* dst, int radiu s, | |
18 int width, int height, int srcStride, int dstSt ride); | |
19 | |
20 enum SkMorphologyProcType { | |
21 SkMorphologyDilateX_Type, | |
reed1
2013/10/30 20:14:28
bike shed : skia likes to have everything after th
Stephen White
2013/10/30 20:48:06
Done.
| |
22 SkMorphologyDilateY_Type, | |
23 SkMorphologyErodeX_Type, | |
24 SkMorphologyErodeY_Type | |
25 }; | |
26 | |
27 SkMorphologyProc SkMorphologyGetPlatformProc(SkMorphologyProcType type); | |
OLD | NEW |