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

Function print_render_config

app/run_scaling.cpp:756–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

754 }
755
756 void print_render_config(const pdflib::render_config& config)
757 {
758 std::cout << "Render config:\n"
759 << std::left
760 << std::setw(32) << "parameter" << "value\n"
761 << std::string(44, '-') << "\n"
762 << std::setw(32) << "render_text" << config.render_text << "\n"
763 << std::setw(32) << "draw_text_bbox" << config.draw_text_bbox << "\n"
764 << std::setw(32) << "draw_text_basepoint" << config.draw_text_basepoint << "\n"
765 << std::setw(32) << "fit_glyph_bbox_to_target" << config.fit_glyph_bbox_to_target << "\n"
766 << std::setw(32) << "resolve_fonts" << config.resolve_fonts << "\n"
767 << std::setw(32) << "font_similarity_cutoff" << config.font_similarity_cutoff << "\n"
768 << std::setw(32) << "scale" << config.scale << "\n"
769 << std::setw(32) << "canvas_width" << config.canvas_width << "\n"
770 << std::setw(32) << "canvas_height" << config.canvas_height << "\n";
771 }
772
773 void print_table(const std::string& title,
774 const std::vector<benchmark_result>& results,

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected