MCPcopy Create free account
hub / github.com/MyGUI/mygui / skipExtraChars

Function skipExtraChars

MyGUIEngine/src/msdfgen/ext/import-svg.cpp:55–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53#define FLAGS_FINAL(flags) (((flags)&(SVG_IMPORT_SUCCESS_FLAG|SVG_IMPORT_INCOMPLETE_FLAG|SVG_IMPORT_UNSUPPORTED_FEATURE_FLAG)) == (SVG_IMPORT_SUCCESS_FLAG|SVG_IMPORT_INCOMPLETE_FLAG|SVG_IMPORT_UNSUPPORTED_FEATURE_FLAG))
54
55static void skipExtraChars(const char *&pathDef) {
56 while (*pathDef == ',' || *pathDef == ' ' || *pathDef == '\t' || *pathDef == '\r' || *pathDef == '\n')
57 ++pathDef;
58}
59
60static bool readNodeType(char &output, const char *&pathDef) {
61 skipExtraChars(pathDef);

Callers 5

readNodeTypeFunction · 0.85
readDoubleFunction · 0.85
readBoolFunction · 0.85
readTransformationOpFunction · 0.85
parseTransformationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected