Index: Source/platform/graphics/ImageBuffer.h |
diff --git a/Source/platform/graphics/ImageBuffer.h b/Source/platform/graphics/ImageBuffer.h |
index 522d3ed6cfbbad4b290b5da740f34759721ac829..be9a99470b55c9933623e456f98b4d657995e6e3 100644 |
--- a/Source/platform/graphics/ImageBuffer.h |
+++ b/Source/platform/graphics/ImageBuffer.h |
@@ -83,6 +83,7 @@ public: |
bool isSurfaceValid() const; |
bool restoreSurface() const; |
+ void setNearestNeighbor(bool nearestNeighbor) { m_surface->setNearestNeighbor(nearestNeighbor); } |
Justin Novosad
2014/09/10 14:28:31
You should use an enum rather than a bool. Somethi
Stephen White
2014/09/10 15:37:09
Good point, but I don't think we should expose Ski
jackhou1
2014/09/11 08:26:31
Used SkPaint::FilterLevel as that's what Interpola
|
void setIsHidden(bool hidden) { m_surface->setIsHidden(hidden); } |
GraphicsContext* context() const; |