Lines Matching refs:currViewSpec
94 const UChar* currViewSpec = viewSpec.characters(); in parseViewSpec() local
95 const UChar* end = currViewSpec + viewSpec.length(); in parseViewSpec()
97 if (currViewSpec >= end) in parseViewSpec()
100 if (!skipString(currViewSpec, end, svgViewSpec, sizeof(svgViewSpec) / sizeof(UChar))) in parseViewSpec()
103 if (currViewSpec >= end || *currViewSpec != '(' ) in parseViewSpec()
105 currViewSpec++; in parseViewSpec()
107 while (currViewSpec < end && *currViewSpec != ')') { in parseViewSpec()
108 if (*currViewSpec == 'v') { in parseViewSpec()
109 if (skipString(currViewSpec, end, viewBoxSpec, sizeof(viewBoxSpec) / sizeof(UChar))) { in parseViewSpec()
110 if (currViewSpec >= end || *currViewSpec != '(') in parseViewSpec()
112 currViewSpec++; in parseViewSpec()
114 if (!parseViewBox(currViewSpec, end, x, y, w, h, false)) in parseViewSpec()
117 if (currViewSpec >= end || *currViewSpec != ')') in parseViewSpec()
119 currViewSpec++; in parseViewSpec()
120 …} else if (skipString(currViewSpec, end, viewTargetSpec, sizeof(viewTargetSpec) / sizeof(UChar))) { in parseViewSpec()
121 if (currViewSpec >= end || *currViewSpec != '(') in parseViewSpec()
123 const UChar* viewTargetStart = ++currViewSpec; in parseViewSpec()
124 while (currViewSpec < end && *currViewSpec != ')') in parseViewSpec()
125 currViewSpec++; in parseViewSpec()
126 if (currViewSpec >= end) in parseViewSpec()
128 setViewTargetString(String(viewTargetStart, currViewSpec - viewTargetStart)); in parseViewSpec()
129 currViewSpec++; in parseViewSpec()
132 } else if (*currViewSpec == 'z') { in parseViewSpec()
133 … if (!skipString(currViewSpec, end, zoomAndPanSpec, sizeof(zoomAndPanSpec) / sizeof(UChar))) in parseViewSpec()
135 if (currViewSpec >= end || *currViewSpec != '(') in parseViewSpec()
137 currViewSpec++; in parseViewSpec()
138 if (!parseZoomAndPan(currViewSpec, end)) in parseViewSpec()
140 if (currViewSpec >= end || *currViewSpec != ')') in parseViewSpec()
142 currViewSpec++; in parseViewSpec()
143 } else if (*currViewSpec == 'p') { in parseViewSpec()
144 …if (!skipString(currViewSpec, end, preserveAspectRatioSpec, sizeof(preserveAspectRatioSpec) / size… in parseViewSpec()
146 if (currViewSpec >= end || *currViewSpec != '(') in parseViewSpec()
148 currViewSpec++; in parseViewSpec()
149 if (!preserveAspectRatioBaseValue()->parsePreserveAspectRatio(currViewSpec, end, false)) in parseViewSpec()
151 if (currViewSpec >= end || *currViewSpec != ')') in parseViewSpec()
153 currViewSpec++; in parseViewSpec()
154 } else if (*currViewSpec == 't') { in parseViewSpec()
155 … if (!skipString(currViewSpec, end, transformSpec, sizeof(transformSpec) / sizeof(UChar))) in parseViewSpec()
157 if (currViewSpec >= end || *currViewSpec != '(') in parseViewSpec()
159 currViewSpec++; in parseViewSpec()
160 SVGTransformable::parseTransformAttribute(m_transform.get(), currViewSpec, end); in parseViewSpec()
161 if (currViewSpec >= end || *currViewSpec != ')') in parseViewSpec()
163 currViewSpec++; in parseViewSpec()
167 if (currViewSpec < end && *currViewSpec == ';') in parseViewSpec()
168 currViewSpec++; in parseViewSpec()
171 if (currViewSpec >= end || *currViewSpec != ')') in parseViewSpec()