Grx.Font.prototype.dump
function dump(context: Grx.Context, start: Number(gint), fg: Grx.Color, bg: Grx.Color): Number(gint) { // Gjs wrapper for grx_font_dump() }
Draws as many glyphs as possible in the clip box of the specified context.
If all of the glyphs do no fit, an index will be returned. This index can be passed to start to draw the next "page" of glyphs.
- context
the drawing context
- start
the starting glyph index
- fg
the forground color
- bg
the background color
- Returns
the index of the first glyph that was not drawn or -1 if all of the glyphs were drawn