.. # split from OEGraphemeFunctions.rst:1495

.. include:: ../substitutions

.. oe:namespace:: OEGrapheme

.. meta::
   :keywords: OEDrawOliveBranchCircle

.. oe:function:: OEDrawOliveBranchCircle

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

      .. oe:api::

         bool OEDrawOliveBranchCircle(OEDepict::OEImageBase& image,
                                      const OEDepict::OE2DPoint& center,
                                      double radius,
                                      const OEDepict::OEPen& pen,
                                      double patternAngle = 15.0,
                                      double patternWidthRatio = 0.15)

   .. oe:language:: python

      .. oe:api:: python

         OEDrawOliveBranchCircle(image: OEImageBase, c: OE2DPoint,
                                 radius: float, pen: OEPen,
                                 patternAngle: float = 15.0,
                                 patternWidthRatio: float = 0.15) -> bool

   Draws a circle with the :oe:const:`OEGrapheme::OECircleStyle::OliveBranch` style.

   .. _figure_draw_circle_olive_branch:

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

      **OEDrawOliveBranchCircle**

   *image*
     |circle_image|

   *center*
     |circle_center|

   *radius*
     |circle_radius|

   *pen*
     |circle_pen|

     See examples (A) and (B) in :ref:`Figure: OEDrawOliveBranchCircle<figure_draw_circle_olive_branch>`.

   *patternAngle*
     |circle_pattern_angle|

     See example (C) in :ref:`Figure: OEDrawOliveBranchCircle<figure_draw_circle_olive_branch>`.

   *patternWidthRatio*
     |circle_width_ratio|

     See example (D) in :ref:`Figure: OEDrawOliveBranchCircle<figure_draw_circle_olive_branch>`.

   .. seealso::

      * :ref:`OEOliveBranchArcFxn <OEGrapheme_OEOliveBranchArcFxn>` class

