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

Unified Diff: experimental/svg/SkSVGDevice.h

Issue 892973002: [SkSVGDevice] Initial shader/gradient support (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | experimental/svg/SkSVGDevice.cpp » ('j') | experimental/svg/SkSVGDevice.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/svg/SkSVGDevice.h
diff --git a/experimental/svg/SkSVGDevice.h b/experimental/svg/SkSVGDevice.h
index d6c48e2c0fcf44e5396ab256828fc304685bb732..6438d71b2bb5b2414aaebab55404c4db1b6b24dc 100644
--- a/experimental/svg/SkSVGDevice.h
+++ b/experimental/svg/SkSVGDevice.h
@@ -62,11 +62,17 @@ private:
SkSVGDevice(const SkISize& size, SkWStream* wstream);
virtual ~SkSVGDevice();
- void addPaint(const SkPaint& paint);
- void addTransform(const SkMatrix& t);
+ class AutoElement;
+ class AutoResources;
- SkXMLWriter* fWriter;
- SkBitmap fLegacyBitmap;
+ void pushElement(const AutoElement&);
+ void popElement();
+
+ SkXMLWriter* fWriter;
+ SkBitmap fLegacyBitmap;
+
+ // just a pop-counter for now
+ unsigned fElementStack;
};
#endif // SkSVGDevice_DEFINED
« no previous file with comments | « no previous file | experimental/svg/SkSVGDevice.cpp » ('j') | experimental/svg/SkSVGDevice.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698