OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 | 8 |
10 #include "SkSVGGroup.h" | 9 #include "SkSVGGroup.h" |
11 #include "SkSVGParser.h" | 10 #include "SkSVGParser.h" |
(...skipping 24 matching lines...) Expand all Loading... |
36 } | 35 } |
37 | 36 |
38 bool SkSVGGroup::isNotDef() { | 37 bool SkSVGGroup::isNotDef() { |
39 return fParent ? fParent->isNotDef() : false; | 38 return fParent ? fParent->isNotDef() : false; |
40 } | 39 } |
41 | 40 |
42 void SkSVGGroup::translate(SkSVGParser& parser, bool defState) { | 41 void SkSVGGroup::translate(SkSVGParser& parser, bool defState) { |
43 for (SkSVGElement** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) | 42 for (SkSVGElement** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) |
44 parser.translate(*ptr, defState); | 43 parser.translate(*ptr, defState); |
45 } | 44 } |
OLD | NEW |