render_cairo_subscript


Description:

[ CCode ( cname = "xapp_kbd_layout_controller_render_cairo_subscript" ) ]
public static void render_cairo_subscript (Context cr, double x, double y, double width, double height, int subscript)

Renders a subscript number in the given work area.

This should be called from within a "draw" or "paint" widget/actor function, where a valid cairo_t is provided to draw with.

Parameters:

cr

a Context

x

the x position of the drawing area

y

the y position of the drawing area

width

the width of the drawing area

height

the height of the drawing area

subscript

the number to render