.\" Copyright (C) 2001 Information-technology Promotion Agency (IPA)
.\" Copyright (C) 2001-2009
.\"   National Institute of Advanced Industrial Science and Technology (AIST)
.\" This file is part 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, no Front-Cover Texts,
.\" 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 "15 Oct 2009" "" "Version 1.5.5" "" "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
Compute information about glyph sequence. 
.PP
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
\fBMDrawGlyph
.ft R
.RE
.PP

.SH COPYRIGHT
Copyright (C) 2001 Information\-technology Promotion Agency (IPA)
.br
Copyright (C) 2001\-2009 National Institute of Advanced Industrial Science and Technology (AIST)
.br
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>.
