OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2006,2007,2008, Google Inc. All rights reserved. | 2 * Copyright (c) 2006,2007,2008, Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 88 |
89 // Determine if a given WebKit point is contained in a path | 89 // Determine if a given WebKit point is contained in a path |
90 bool PLATFORM_EXPORT SkPathContainsPoint(const SkPath&, const FloatPoint&, SkPat
h::FillType); | 90 bool PLATFORM_EXPORT SkPathContainsPoint(const SkPath&, const FloatPoint&, SkPat
h::FillType); |
91 | 91 |
92 SkMatrix PLATFORM_EXPORT affineTransformToSkMatrix(const AffineTransform&); | 92 SkMatrix PLATFORM_EXPORT affineTransformToSkMatrix(const AffineTransform&); |
93 | 93 |
94 bool nearlyIntegral(float value); | 94 bool nearlyIntegral(float value); |
95 | 95 |
96 InterpolationQuality limitInterpolationQuality(const GraphicsContext*, Interpola
tionQuality resampling); | 96 InterpolationQuality limitInterpolationQuality(const GraphicsContext*, Interpola
tionQuality resampling); |
97 | 97 |
98 SkPaint::FilterLevel convertToSkiaFilterLevel(bool useBicubicFilter, Interpolati
onQuality resampling); | |
99 | |
100 InterpolationQuality computeInterpolationQuality( | 98 InterpolationQuality computeInterpolationQuality( |
101 const SkMatrix&, | 99 const SkMatrix&, |
102 float srcWidth, | 100 float srcWidth, |
103 float srcHeight, | 101 float srcHeight, |
104 float destWidth, | 102 float destWidth, |
105 float destHeight, | 103 float destHeight, |
106 bool isDataComplete = true); | 104 bool isDataComplete = true); |
107 | 105 |
108 bool shouldDrawAntiAliased(const GraphicsContext*, const SkRect& destRect); | 106 bool shouldDrawAntiAliased(const GraphicsContext*, const SkRect& destRect); |
109 | 107 |
110 } // namespace blink | 108 } // namespace blink |
111 | 109 |
112 #endif // SkiaUtils_h | 110 #endif // SkiaUtils_h |
OLD | NEW |