Prints a collection of SEAMs. static */
| 171 | // Prints a collection of SEAMs. |
| 172 | /* static */ |
| 173 | void SEAM::PrintSeams(const char* label, const GenericVector<SEAM*>& seams) { |
| 174 | if (!seams.empty()) { |
| 175 | tprintf("%s\n", label); |
| 176 | for (int x = 0; x < seams.size(); ++x) { |
| 177 | tprintf("%2d: ", x); |
| 178 | seams[x]->Print(""); |
| 179 | } |
| 180 | tprintf("\n"); |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | #ifndef GRAPHICS_DISABLED |
| 185 | // Draws the seam in the given window. |