Lines Matching refs:nextCommand
135 static bool nextCommandHelper(const CharacterType*& current, SVGPathSegType previousCommand, SVGPathSegType& nextCommand)
141 nextCommand = PathSegLineToAbs;
145 nextCommand = PathSegLineToRel;
148 nextCommand = previousCommand;
155 SVGPathSegType SVGPathStringSource::nextCommand(SVGPathSegType previousCommand)
157 SVGPathSegType nextCommand;
159 if (nextCommandHelper(m_current.m_character8, previousCommand, nextCommand))
160 return nextCommand;
162 if (nextCommandHelper(m_current.m_character16, previousCommand, nextCommand))
163 return nextCommand;
166 parseSVGSegmentType(nextCommand);
167 return nextCommand;