.. # split from OEGraphemeFunctions.rst:2066

.. include:: ../substitutions

.. oe:namespace:: OEGrapheme

.. meta::
   :keywords: OEDrawSimpsonSurfaceArc

.. oe:function:: OEDrawSimpsonSurfaceArc

   .. oe:language:: c++ java csharp

      .. oe:api::

         bool OEDrawSimpsonSurfaceArc(OEDepict::OEImageBase& image,
                                      const OEDepict::OE2DPoint& center,
                                      double bgnAngle, double endAngle,
                                      double radius,
                                      const OEDepict::OEPen& pen,
                                      double edgeAngle = 10.0,
                                      double patternAngle = 15.0,
                                      double minPatternWidthRatio = 0.20,
                                      double maxPatternWidthRatio = 0.20)

   .. oe:language:: python

      .. oe:api:: python

         OEDrawSimpsonSurfaceArc(image: OEImageBase, c: OE2DPoint,
                                 bgnAngle: float, endAngle: float,
                                 radius: float, pen: OEPen,
                                 edgeAngle: float = 10.0,
                                 patternAngle: float = 15.0,
                                 minPatternWidthRatio: float = 0.20,
                                 maxPatternWidthRatio: float = 0.20) -> bool

   Draws an arc with the :oe:const:`OEGrapheme::OESurfaceArcStyle::Simpson` style.

   .. _figure_draw_surface_arc_simpson:

   .. figure:: ../images/OEDrawSimpsonSurfaceArc.*
      :align:  center

      **OEDrawSimpsonSurfaceArc**

   *image*
     |arc_image|

   *center*
     |arc_center|

   *bgnAngle, endAngle*
     |arc_angles|

   *radius*
     |arc_radius|

   *pen*
     |arc_pen|

   *edgeAngle*
     |arc_edgeangle|

     See example (B) in :ref:`Figure: OEDrawSimpsonSurfaceArc<figure_draw_surface_arc_simpson>`.

   *patternAngle*
     |arc_pattern_angle|

     See example (C) in :ref:`Figure: OEDrawSimpsonSurfaceArc<figure_draw_surface_arc_simpson>`.

   *minPatternWidthRatio, maxPatternWidthRatio*
     |arc_width_ratio|

     See examples (D) and (E) in :ref:`Figure: OEDrawSimpsonSurfaceArc<figure_draw_surface_arc_simpson>`.

   .. seealso::

      * :ref:`OESimpsonArcFxn <OEGrapheme_OESimpsonArcFxn>` class

