aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/pdf/SkPDFDevice.h
diff options
context:
space:
mode:
authorGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-08-08 19:41:56 +0000
committerGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-08-08 19:41:56 +0000
commit88edf1e50794e6d8cd7cc671ffce4f5e329ef888 (patch)
treeb9cca618d42206f6755504e9ad05c2daf9408528 /include/pdf/SkPDFDevice.h
parent3f69b54d4575b62bb41d77089a9cf6bb19321067 (diff)
Protect much of SkDevice and clarify usage of drawDevice.
Diffstat (limited to 'include/pdf/SkPDFDevice.h')
-rw-r--r--include/pdf/SkPDFDevice.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/pdf/SkPDFDevice.h b/include/pdf/SkPDFDevice.h
index 6c0251d395..4bea1c2c2b 100644
--- a/include/pdf/SkPDFDevice.h
+++ b/include/pdf/SkPDFDevice.h
@@ -70,6 +70,12 @@ public:
return false;
}
+ virtual void setMatrixClip(const SkMatrix& m, const SkRegion& r,
+ const SkClipStack& c)
+ {
+ SkDevice::setMatrixClip(m, r, c);
+ }
+
/** These are called inside the per-device-layer loop for each draw call.
When these are called, we have already applied any saveLayer operations,
and are handling any looping from the paint, and any effects from the