| line |
true |
false |
branch |
|
34
|
0 |
0 |
if (fabs(y1 - y0) < 0.5) { |
|
39
|
0 |
0 |
if (!edge) { |
|
43
|
0 |
0 |
if (y0 > y1) { |
|
54
|
0 |
0 |
if (edge->y_min > edge->y_max) { |
|
78
|
0 |
0 |
if (!et) { |
|
88
|
0 |
0 |
for (i = 0; i < path->seg_count; i++) { |
|
99
|
0 |
0 |
if (has_current) { |
|
104
|
0 |
0 |
if (edge && edge->y_min >= y_min && edge->y_min <= y_max) { |
|
|
0 |
0 |
if (edge && edge->y_min >= y_min && edge->y_min <= y_max) { |
|
|
0 |
0 |
if (edge && edge->y_min >= y_min && edge->y_min <= y_max) { |
|
109
|
0 |
0 |
} else if (edge) { |
|
117
|
0 |
0 |
if (has_current) { |
|
122
|
0 |
0 |
if (edge && edge->y_min >= y_min && edge->y_min <= y_max) { |
|
|
0 |
0 |
if (edge && edge->y_min >= y_min && edge->y_min <= y_max) { |
|
|
0 |
0 |
if (edge && edge->y_min >= y_min && edge->y_min <= y_max) { |
|
127
|
0 |
0 |
} else if (edge) { |
|
149
|
0 |
0 |
if (*ael == NULL || edge->x < (*ael)->x) { |
|
|
0 |
0 |
if (*ael == NULL || edge->x < (*ael)->x) { |
|
156
|
0 |
0 |
while (curr->next && curr->next->x < edge->x) { |
|
|
0 |
0 |
while (curr->next && curr->next->x < edge->x) { |
|
169
|
0 |
0 |
if (!*ael || !(*ael)->next) { |
|
|
0 |
0 |
if (!*ael || !(*ael)->next) { |
|
176
|
0 |
0 |
while (curr) { |
|
191
|
0 |
0 |
x0 = CLAMP(x0, 0, width); |
|
192
|
0 |
0 |
x1 = CLAMP(x1, 0, width); |
|
195
|
0 |
0 |
for (x = x0; x < x1; x++) { |
|
212
|
0 |
0 |
if (pdfmake_path_get_bounds(path, &x_min, &y_min, &x_max, &y_max) != PDFMAKE_RENDER_OK) { |
|
219
|
0 |
0 |
if (iy_min > iy_max) { |
|
224
|
0 |
0 |
if (!et) { |
|
230
|
0 |
0 |
for (y = iy_min; y <= iy_max; y++) { |
|
237
|
0 |
0 |
while (et[idx]) { |
|
249
|
0 |
0 |
while (curr) { |
|
250
|
0 |
0 |
if (winding == 0 && curr->dir != 0) { |
|
|
0 |
0 |
if (winding == 0 && curr->dir != 0) { |
|
254
|
0 |
0 |
if (winding == 0 && span_start >= 0) { |
|
|
0 |
0 |
if (winding == 0 && span_start >= 0) { |
|
264
|
0 |
0 |
while (curr) { |
|
266
|
0 |
0 |
if (y >= curr->y_max) { |
|
267
|
0 |
0 |
if (prev) { |
|
283
|
0 |
0 |
while (ael) { |
|
302
|
0 |
0 |
if (pdfmake_path_get_bounds(path, &x_min, &y_min, &x_max, &y_max) != PDFMAKE_RENDER_OK) { |
|
309
|
0 |
0 |
if (iy_min > iy_max) { |
|
314
|
0 |
0 |
if (!et) { |
|
320
|
0 |
0 |
for (y = iy_min; y <= iy_max; y++) { |
|
327
|
0 |
0 |
while (et[idx]) { |
|
339
|
0 |
0 |
while (curr) { |
|
340
|
0 |
0 |
if (parity == 0) { |
|
344
|
0 |
0 |
if (parity == 0 && span_start >= 0) { |
|
|
0 |
0 |
if (parity == 0 && span_start >= 0) { |
|
354
|
0 |
0 |
while (curr) { |
|
356
|
0 |
0 |
if (y >= curr->y_max) { |
|
357
|
0 |
0 |
if (prev) { |
|
373
|
0 |
0 |
while (ael) { |
|
391
|
0 |
0 |
if (!ctx || !path) { |
|
|
0 |
0 |
if (!ctx || !path) { |
|
395
|
0 |
0 |
if (pdfmake_path_is_empty(path)) { |
|
401
|
0 |
0 |
if (!flat) { |
|
409
|
0 |
0 |
if (!new_mask) { |
|
415
|
0 |
0 |
if (rule == PDFMAKE_FILL_EVENODD) { |
|
424
|
0 |
0 |
if (ctx->has_clip && ctx->clip_mask) { |
|
|
0 |
0 |
if (ctx->has_clip && ctx->clip_mask) { |
|
426
|
0 |
0 |
for (i = 0; i < mask_size; i++) { |
|
443
|
0 |
0 |
if (!ctx) { |
|
459
|
0 |
0 |
if (!ctx) { |
|
463
|
0 |
0 |
if (ctx->clip_mask) { |
|
474
|
0 |
0 |
if (!ctx) { |
|
478
|
0 |
0 |
if (!ctx->has_clip || !ctx->clip_mask) { |
|
|
0 |
0 |
if (!ctx->has_clip || !ctx->clip_mask) { |
|
482
|
0 |
0 |
if (x < 0 || x >= ctx->width || y < 0 || y >= ctx->height) { |
|
|
0 |
0 |
if (x < 0 || x >= ctx->width || y < 0 || y >= ctx->height) { |
|
|
0 |
0 |
if (x < 0 || x >= ctx->width || y < 0 || y >= ctx->height) { |
|
|
0 |
0 |
if (x < 0 || x >= ctx->width || y < 0 || y >= ctx->height) { |
|
493
|
0 |
0 |
if (!ctx) { |
|
497
|
0 |
0 |
if (!ctx->has_clip || !ctx->clip_mask) { |
|
|
0 |
0 |
if (!ctx->has_clip || !ctx->clip_mask) { |
|
501
|
0 |
0 |
if (x < 0 || x >= ctx->width || y < 0 || y >= ctx->height) { |
|
|
0 |
0 |
if (x < 0 || x >= ctx->width || y < 0 || y >= ctx->height) { |
|
|
0 |
0 |
if (x < 0 || x >= ctx->width || y < 0 || y >= ctx->height) { |
|
|
0 |
0 |
if (x < 0 || x >= ctx->width || y < 0 || y >= ctx->height) { |