MCPcopy Create free account
hub / github.com/docling-project/docling-parse / render_bitmap

Method render_bitmap

app/analyse.cpp:44–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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// -----------------------------------------------------------------

Callers

nothing calls this directly

Calls 3

has_dataMethod · 0.80
insertMethod · 0.80
get_keyMethod · 0.45

Tested by

no test coverage detected