draw_error_underline


Description:

public virtual void draw_error_underline (int x, int y, int width, int height)

Draw a squiggly line 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.

This should be called while this is already active. Use [method@Pango.Renderer.activate] to activate a renderer.

Parameters:

this

a `PangoRenderer`

x

X coordinate of underline, in Pango units in user coordinate system

y

Y coordinate of underline, in Pango units in user coordinate system

width

width of underline, in Pango units in user coordinate system

height

height of underline, in Pango units in user coordinate system