Grx.Font.dump

@accepts(Grx.Font, Grx.Context, int, Grx.Color, Grx.Color)
@returns(int)
def dump(self, context, start, fg, bg):
    # Python 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.

self

the font

context

the drawing context

start

the starting glyph index

fg

the forground color

bg

the background color

Returns