| 42 | void render_shape(pdflib::shape_instruction&) {} |
| 43 | |
| 44 | void render_bitmap(pdflib::bitmap_instruction& instr) |
| 45 | { |
| 46 | auto const& shape = instr.get_shape(); |
| 47 | int sh = shape[0], sw = shape[1], sc = shape[2]; |
| 48 | if ((not instr.has_data()) or sh <= 0 or sw <= 0 or sc < 1) |
| 49 | { |
| 50 | yellow_keys.insert(instr.get_key()); |
| 51 | } |
| 52 | } |
| 53 | }; |
| 54 | |
| 55 | // ----------------------------------------------------------------- |