---
name: "mdraw_glyph_list"
section: "3m17n"
platform: "linux"
package: "m17n-docs"
version: "1.8.4-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mdraw_glyph_list"
---

# mdraw\_glyph\_list(3m17n)

## NAME

mdraw\_glyph\_list -

## 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

Compute information about glyph sequence. 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

**MDrawGlyph**

## COPYRIGHT

Copyright (C) 2001 Information-technology Promotion Agency (IPA)\
 Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)\
 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License  \<http://www.gnu.org/licenses/fdl.html\>.
