in function_app/src/components/doc_intelligence.py [0:0]
def convert_figure(
self,
element_info: ElementInfo,
transformed_page_img: TransformedImage,
analyze_result: AnalyzeResult,
all_formulas: List[DocumentFormula],
all_barcodes: List[DocumentBarcode],
selection_mark_formatter: SelectionMarkFormatter,
section_heirarchy: Optional[tuple[int]],