code: def test_regular_polygon_draw1():
      """Test drawing regular polygons without transforms using RegularPolygonVisual"""  # noqa
      with TestingCanvas() as c:
          rpolygon = visuals.RegularPolygon(
              center=(0.0, 0.0),
              radius=0.4,
              sides=8,
              color=(1, 0, 0, 1),
              parent=c.scene,
          )
  
          rpolygon.transform = transforms.STTransform(
              scale=(50, 50), translate=(50, 50)
          )
          assert_image_approved(
              c.render(), "visuals/regular_polygon1.png"
          )
  
          rpolygon.parent = None
          rpolygon = visuals.RegularPolygon(
              center=(0.0, 0.0),
              radius=0.4,
              sides=8,
              color=(1, 0, 0, 1),
              border_color=(0, 1, 1, 1),
              parent=c.scene,
          )
  
          rpolygon.transform = transforms.STTransform(
              scale=(50, 50), translate=(50, 50)
          )
          assert_image_approved(
              c.render(), "visuals/regular_polygon2.png"
          )
  
          rpolygon.parent = None
          rpolygon = visuals.RegularPolygon(
              center=(0.0, 0.0),
              radius=0.4,
              sides=8,
              border_color=(0, 1, 1, 1),
              parent=c.scene,
          )
  
          rpolygon.transform = transforms.STTransform(
              scale=(50, 50), translate=(50, 50)
          )
          assert_image_approved(
              c.render(), "visuals/regular_polygon3.png", min_corr=0.7
          )
  
imports: from vispy.scene import visuals, transforms
  from vispy.testing import requires_application, TestingCanvas, run_tests_if_main
  from vispy.testing.image_tester import assert_image_approved
label_desc: Use image node_id 1 for calling a global function with example usage: test_regular_polygon_draw1() without return types