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

Unified Diff: experimental/svg/model/SkSVGSVG.h

Issue 2345533002: [SVGDom] Expose intrinsic size info (Closed)
Patch Set: private intrinsicSize() Created 4 years, 3 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 | « experimental/svg/model/SkSVGDOM.cpp ('k') | experimental/svg/model/SkSVGSVG.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/svg/model/SkSVGSVG.h
diff --git a/experimental/svg/model/SkSVGSVG.h b/experimental/svg/model/SkSVGSVG.h
index ae4787cac3cee3f9ef17d2827033e8cfe5efa7c5..675c83351f153373ea52d99ada00cd16b2a6b467 100644
--- a/experimental/svg/model/SkSVGSVG.h
+++ b/experimental/svg/model/SkSVGSVG.h
@@ -12,6 +12,8 @@
#include "SkSVGTypes.h"
#include "SkTLazy.h"
+class SkSVGLengthContext;
+
class SkSVGSVG : public SkSVGContainer {
public:
virtual ~SkSVGSVG() = default;
@@ -24,6 +26,8 @@ public:
void setHeight(const SkSVGLength&);
void setViewBox(const SkSVGViewBoxType&);
+ SkSize intrinsicSize(const SkSVGLengthContext&) const;
+
protected:
bool onPrepareToRender(SkSVGRenderContext*) const override;
« no previous file with comments | « experimental/svg/model/SkSVGDOM.cpp ('k') | experimental/svg/model/SkSVGSVG.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698