Learn R Programming

RGtk2 (version 2.20.31)

pangoRendererDrawErrorUnderline: pangoRendererDrawErrorUnderline

Description

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)

Usage

pangoRendererDrawErrorUnderline(object, x, y, width, height)

Arguments

x
[integer] X coordinate of underline, in Pango units in user coordinate system
y
[integer] Y coordinate of underline, in Pango units in user coordinate system
width
[integer] width of underline, in Pango units in user coordinate system
height
[integer] height of underline, in Pango units in user coordinate system

Details

This should be called while renderer is already active. Use pangoRendererActivate to activate a renderer. Since 1.8