man mdraw_glyph_list () - Compute information about glyph sequence.

NAME

mdraw_glyph_list - Compute information about glyph sequence.

SYNOPSIS

int mdraw_glyph_list (MFrame * frame, MText * mt, int from, int to, MDrawControl * control, MDrawGlyph * glyphs, int array_size, int * num_glyphs_return)

DESCRIPTION

The mdraw_glyph_list() function computes information about glyphs corresponding to the text between from and to of M-text mt when it is drawn on a window of frame frame using the mdraw_text_with_control() function with the drawing control object control. glyphs is an array of objects to store the information, and array_size is the array size.

If array_size is large enough to cover all glyphs, it stores the number of actually filled elements in the place pointed by num_glyphs_return, and returns 0.

Otherwise, it stores the required array size in the place pointed by num_glyphs_return, and returns -1.

SEE ALSO

MDrawGlyp