.\" Copyright (C) 2001 Information-technology Promotion Agency (IPA) .\" Copyright (C) 2001-2003 .\" National Institute of Advanced Industrial Science and Technology (AIST) .\" This file si aprt of the m17n library documentation. .\" Permission is granted to copy, distribute and/or modify this document .\" under the terms of the GNU Free Documentation License, Version 1.2 or .\" any later version published by the Free Software Foundation; with no .\" Invariant Section, Front-Cover Texts "The m17n library documentation", .\" and no Back-Cover Texts. A copy of the license is included in the .\" appendix entitled "GNU Free Documentation License". .TH "mdraw_glyph_list" 3m17n "14 Jul 2007" "" "Version 1.4.0" "" "The m17n Library" \" -*- nroff -*- .ad l .nh .SH NAME mdraw_glyph_list - Compute information about glyph sequence. .SH SYNOPSIS int \fBmdraw_glyph_list\fP (\fBMFrame\fP * \fIframe\fP, \fBMText\fP * \fImt\fP, int \fIfrom\fP, int \fIto\fP, \fBMDrawControl\fP * \fIcontrol\fP, \fBMDrawGlyph\fP * \fIglyphs\fP, int \fIarray_size\fP, int * \fInum_glyphs_return\fP) .SH DESCRIPTION The .ft B mdraw_glyph_list() .ft R function computes information about glyphs corresponding to the text between .ft B from .ft R and .ft B to .ft R of M-text .ft B mt .ft R when it is drawn on a window of frame .ft B frame .ft R using the .ft B mdraw_text_with_control() .ft R function with the drawing control object .ft B control\fP. .ft R .ft B glyphs .ft R is an array of objects to store the information, and .ft B array_size .ft R is the array size. .PP If .ft B array_size .ft R is large enough to cover all glyphs, it stores the number of actually filled elements in the place pointed by .ft B num_glyphs_return\fP, .ft R and returns 0. .PP Otherwise, it stores the required array size in the place pointed by .ft B num_glyphs_return\fP, .ft R and returns -1. .PP .SH "SEE ALSO" .PP.RS 4 .SS MDrawGlyp .RE .PP