Name
ccontext:ShowErrorUnderline -- draw error underline
Synopsis
ccontext:ShowErrorUnderline(x, y, width, height)
Function
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.

Inputs
x
the X coordinate of one corner of the rectangle
y
the Y coordinate of one corner of the rectangle
width
non-negative width of the rectangle
height
non-negative height of the rectangle

Show TOC