Method
MatekbdKeyboardDrawingrender
Declaration [src]
gboolean
matekbd_keyboard_drawing_render (
MatekbdKeyboardDrawing* kbdrawing,
cairo_t* cr,
PangoLayout* layout,
double x,
double y,
double width,
double height,
gdouble dpi_x,
gdouble dpi_y
)
Description [src]
Renders a keyboard layout to a cairo_t context. cr and layout can be got
from e.g. a GtkWidget or a GtkPrintContext. cr and layout may be modified
by the function but will not be unreffed.
Parameters
cr-
Type:
cairo_tCairo context to render to.
The data is owned by the caller of the method. layout-
Type:
PangoLayoutPango layout to use to render text.
The data is owned by the caller of the method. x-
Type:
doubleLeft coordinate (pixels) of region to render in.
y-
Type:
doubleTop coordinate (pixels) of region to render in.
width-
Type:
doubleWidth (pixels) of region to render in.
height-
Type:
doubleHeight (pixels) of region to render in.
dpi_x-
Type:
gdoubleNo description available.
dpi_y-
Type:
gdoubleNo description available.