Index: Source/platform/graphics/skia/SkiaUtils.h |
diff --git a/Source/platform/graphics/skia/SkiaUtils.h b/Source/platform/graphics/skia/SkiaUtils.h |
index 6f1444e4da53bceb637777b1bfa98e56bdb8a267..44a6897b2ad39fdfbde5ffd52dd626a38bcd4b34 100644 |
--- a/Source/platform/graphics/skia/SkiaUtils.h |
+++ b/Source/platform/graphics/skia/SkiaUtils.h |
@@ -91,6 +91,22 @@ bool PLATFORM_EXPORT SkPathContainsPoint(const SkPath&, const FloatPoint&, SkPat |
SkMatrix PLATFORM_EXPORT affineTransformToSkMatrix(const AffineTransform&); |
+bool nearlyIntegral(float value); |
+ |
+InterpolationQuality limitInterpolationQuality(const GraphicsContext*, InterpolationQuality resampling); |
+ |
+SkPaint::FilterLevel convertToSkiaFilterLevel(bool useBicubicFilter, InterpolationQuality resampling); |
+ |
+InterpolationQuality computeInterpolationQuality( |
+ const SkMatrix&, |
+ float srcWidth, |
+ float srcHeight, |
+ float destWidth, |
+ float destHeight, |
+ bool isDataComplete = true); |
+ |
+bool shouldDrawAntiAliased(const GraphicsContext*, const SkRect& destRect); |
+ |
} // namespace blink |
#endif // SkiaUtils_h |