Function

PangoCairo-1.0PangoCairoshow_error_underlineSince 1.14

  • Draw a squiggly line in the specified cairo context that approximately covers the given rectangle in the style of an underline used to indicate a spelling error.

    The width of the underline is rounded to an integer number of up/down segments and the resulting rectangle is centered in the original rectangle.

    Parameters

    • cr: default.Context

      a Cairo context

    • x: number

      The X coordinate of one corner of the rectangle

    • y: number

      The Y coordinate of one corner of the rectangle

    • width: number

      Non-negative width of the rectangle

    • height: number

      Non-negative height of the rectangle

    Returns void

    1.14