| 525 | } |
| 526 | |
| 527 | static bool path_paint(const pdf_tok_t *t) { |
| 528 | return kw_is(t, "S") || kw_is(t, "s") || kw_is(t, "f") || kw_is(t, "F") || kw_is(t, "f*") || |
| 529 | kw_is(t, "B") || kw_is(t, "B*") || kw_is(t, "b") || kw_is(t, "b*") || kw_is(t, "sh"); |
| 530 | } |
| 531 | |
| 532 | /* "[ws]EI" followed by whitespace or the end, from p: the position after EI. */ |
| 533 | static size_t skip_inline_image(const unsigned char *data, size_t len, size_t from) { |