Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2863)

Unified Diff: dm/DMSrcSink.h

Issue 931483002: Suggested version with 'undo'. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: cast to scalar Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dm/DM.cpp ('k') | dm/DMSrcSink.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMSrcSink.h
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h
index 4c15c92cb6cc67fbaece5db6c6b08f40eebc7a5d..abf3ef8a2f256fa020d916a37e39be83875cfd7c 100644
--- a/dm/DMSrcSink.h
+++ b/dm/DMSrcSink.h
@@ -163,6 +163,18 @@ private:
SkAutoTDelete<Sink> fSink;
};
+class ViaUpright : public Sink {
+public:
+ ViaUpright(SkMatrix, Sink*);
+
+ Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const SK_OVERRIDE;
+ int enclave() const SK_OVERRIDE { return fSink->enclave(); }
+ const char* fileExtension() const SK_OVERRIDE { return fSink->fileExtension(); }
+private:
+ SkMatrix fMatrix;
+ SkAutoTDelete<Sink> fSink;
+};
+
class ViaPipe : public Sink {
public:
explicit ViaPipe(Sink*);
« no previous file with comments | « dm/DM.cpp ('k') | dm/DMSrcSink.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698