OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "SkCanvas.h" | 8 #include "SkCanvas.h" |
9 #include "SkDOM.h" | 9 #include "SkDOM.h" |
10 #include "SkParse.h" | 10 #include "SkParse.h" |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 if (fRoot) { | 294 if (fRoot) { |
295 SkSVGRenderContext ctx(fContainerSize); | 295 SkSVGRenderContext ctx(fContainerSize); |
296 fRoot->render(canvas, ctx); | 296 fRoot->render(canvas, ctx); |
297 } | 297 } |
298 } | 298 } |
299 | 299 |
300 void SkSVGDOM::setContainerSize(const SkSize& containerSize) { | 300 void SkSVGDOM::setContainerSize(const SkSize& containerSize) { |
301 // TODO: inval | 301 // TODO: inval |
302 fContainerSize = containerSize; | 302 fContainerSize = containerSize; |
303 } | 303 } |
OLD | NEW |