code: def test_drawings2():
      delta = (0, 20, 0, 20)
      doc = fitz.open()
      page = doc.new_page()
  
      r = fitz.Rect(100, 100, 200, 200)
      page.draw_circle(r.br, 2, color=0)
      r += delta
  
      page.draw_line(r.tl, r.br, color=0)
      r += delta
  
      page.draw_oval(r, color=0)
      r += delta
  
      page.draw_rect(r, color=0)
      r += delta
  
      page.draw_quad(r.quad, color=0)
      r += delta
  
      page.draw_polyline((r.tl, r.tr, r.br), color=0)
      r += delta
  
      page.draw_bezier(r.tl, r.tr, r.br, r.bl, color=0)
      r += delta
  
      page.draw_curve(r.tl, r.tr, r.br, color=0)
      r += delta
  
      page.draw_squiggle(r.tl, r.br, color=0)
      r += delta
  
      rects = [p["rect"] for p in page.get_cdrawings()]
      bboxes = [b[1] for b in page.get_bboxlog()]
      for i, r in enumerate(rects):
          assert fitz.Rect(r) in fitz.Rect(bboxes[i])
  
file_path: pymudf/tests/test_drawings.py
imports: import io
  import os
  import sys
  import pprint
  import fitz
label_desc: Use image node_id 2 for calling a global function with example usage: test_drawings2() without return types