bool parseSize(const char* s)
parseSize(const char* s)
bool parseSize(const char* s){  assert(s != NULL);  char* nptr;  double w = strtod(s, &nptr);  if (nptr == s) return false;  if (nptr == NULL || *nptr != 'x') return false;  s = nptr + 1;  double h = strtod(s, &nptr);  if (nptr == s) return false;  width = w;  height = h;  return true;}