| 2500 | } |
| 2501 | |
| 2502 | const char * Config::getCanonicalName(const char * name) const |
| 2503 | { |
| 2504 | ConstColorSpaceRcPtr cs = getColorSpace(name); |
| 2505 | if (cs) |
| 2506 | { |
| 2507 | return cs->getName(); |
| 2508 | } |
| 2509 | ConstNamedTransformRcPtr nt = getNamedTransform(name); |
| 2510 | if (nt) |
| 2511 | { |
| 2512 | return nt->getName(); |
| 2513 | } |
| 2514 | return ""; |
| 2515 | } |
| 2516 | |
| 2517 | int Config::getNumColorSpaces() const |
| 2518 | { |