.\" 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_info" 3m17n "15 Oct 2009" "" "Version 1.5.5" "" "The m17n Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
mdraw_glyph_info \- Compute information about a glyph. 


.SH SYNOPSIS
int
\fBmdraw_glyph_info\fP (\fBMFrame\fP *
\fIframe\fP, \fBMText\fP *
\fImt\fP, int
\fIfrom\fP, int
\fIpos\fP, \fBMDrawControl\fP *
\fIcontrol\fP, \fBMDrawGlyphInfo\fP *
\fIinfo\fP)


.SH DESCRIPTION
Compute information about a glyph. 
.PP
The
.ft B
mdraw_glyph_info()
.ft R
function computes information about a glyph that covers a character at position
.ft B
pos
.ft R
of the M\-text
.ft B
mt
.ft R
assuming that the text is drawn from the character at
.ft B
from
.ft R
of
.ft B
mt
.ft R
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
.PP
The information is stored in the members of
.ft B
info\fP.
.ft R
.PP
.SH "SEE ALSO"
.PP
.RS 4
\fBMDrawGlyphInfo
.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>.
