Lines Matching defs:outError

185 static int tick_type(png_bytep p, bool transparent, const char** outError)
202 *outError = "Frame pixels must be either solid or transparent (not intermediate alphas)";
206 *outError = "Ticks in transparent frame must be black or red";
212 *outError = "White frame must be a solid color (no alpha)";
225 *outError = "Ticks in white frame must be black or red";
239 int32_t* outLeft, int32_t* outRight, const char** outError,
248 if (TICK_TYPE_TICK == tick_type(row+i*4, transparent, outError)) {
259 *outError = "Can't have more than one marked region along edge";
263 } else if (*outError == NULL) {
278 *outError = "No marked region found along edge";
288 int32_t* outTop, int32_t* outBottom, const char** outError,
297 if (TICK_TYPE_TICK == tick_type(rows[i]+offset, transparent, outError)) {
308 *outError = "Can't have more than one marked region along edge";
312 } else if (*outError == NULL) {
327 *outError = "No marked region found along edge";
337 int32_t* outLeft, int32_t* outRight, const char** outError)
343 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(row + 4, transparent, outError)) {
349 int tick = tick_type(row + i * 4, transparent, outError);
357 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(row + (width - 2) * 4, transparent, outError)) {
363 int tick = tick_type(row+i*4, transparent, outError);
375 int32_t* outTop, int32_t* outBottom, const char** outError)
381 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(rows[1] + offset, transparent, outError)) {
387 int tick = tick_type(rows[i] + offset, transparent, outError);
395 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(rows[height - 2] + offset, transparent, outError)) {
401 int tick = tick_type(rows[i] + offset, transparent, outError);