Index: Source/core/html/canvas/CanvasRenderingContext2DState.h |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2DState.h b/Source/core/html/canvas/CanvasRenderingContext2DState.h |
index b01917133ff11ce2ba5297a7d718f05f3eb5da8e..1dc719d71a5d511f1497b8ed7fc0281970f2ce19 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2DState.h |
+++ b/Source/core/html/canvas/CanvasRenderingContext2DState.h |
@@ -30,6 +30,7 @@ public: |
enum PaintType { |
FillPaintType, |
StrokePaintType, |
+ ImagePaintType, |
}; |
CanvasRenderingContext2DState(const CanvasRenderingContext2DState&, ClipListCopyMode = CopyClipList); |
@@ -46,6 +47,9 @@ public: |
void setLineDash(const Vector<float>&); |
const Vector<float>& lineDash() const { return m_lineDash; } |
+ void setShouldAntialias(bool); |
+ bool shouldAntialias() const; |
+ |
void setLineDashOffset(float); |
float lineDashOffset() const { return m_lineDashOffset; } |
@@ -157,6 +161,7 @@ private: |
mutable SkPaint m_strokePaint; |
mutable SkPaint m_fillPaint; |
+ mutable SkPaint m_imagePaint; |
FloatSize m_shadowOffset; |
float m_shadowBlur; |