* @brief Read back the effective x-axis range that rendering will use. * * Reports the pinned range if `plot_set_xlim` was called, otherwise the range * auto-computed from the series data (with the same flat-data widening the * renderer applies). Lets you inspect or persist the scale without a graphics * context. * * @param plot Plot to query. Must be non-NULL. * @param outMin Receives t
| 2168 | ok &= fputc(',', f) != EOF; |
| 2169 | } |
| 2170 | if (r < ser->dataSize) { |
| 2171 | if (ser->xData) { |
| 2172 | ok &= fprintf(f, "%.9g", (double)ser->xData[r]) >= 0; |
| 2173 | } |
| 2174 | else { |
| 2175 | ok &= fprintf(f, "%zu", r) >= 0; |
| 2176 | } |
| 2177 | } |
| 2178 | } |
| 2179 | if (r < ser->dataSize) { |
| 2180 | ok &= fprintf(f, ",%.9g", (double)ser->yData[r]) >= 0; |
| 2181 | } |
| 2182 | else { |
| 2183 | ok &= fputc(',', f) != EOF; |
| 2184 | } |
| 2185 | } |
| 2186 | ok &= fputc('\n', f) != EOF; |
nothing calls this directly
no test coverage detected