Function

HarfBuzz-0.0HarfBuzzdraw_circleSince 14.2.0

  • Emits a circle approximated by four cubic Bezier curves. If stroke_width is a finite positive value, the circle is rendered as an outlined ring of that thickness centered on the nominal radius; if stroke_width is NaN, the circle is rendered as a filled disc.

    Parameters

    • dfuncs: draw_funcs_t

      draw functions

    • draw_data: null

      associated draw data passed by the caller

    • st: draw_state_t

      current draw state

    • cx: number

      center X coordinate

    • cy: number

      center Y coordinate

    • r: number

      radius

    • stroke_width: number

      stroke width, or NaN for a filled disc

    Returns void

    14.2.0