Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 9d2e976f12e8ff1c53133a0ee8246441 > files > 26

python-xlib-doc-0.15-6.mga4.noarch.rpm

<HTML>
<HEAD>
<!-- Created by texi2html 1.56k from ../src/python-xlib.texi on 22 October 2013 -->

<TITLE>The Python X Library - Fontable</TITLE>
</HEAD>
<BODY>
Go to the <A HREF="python-xlib_1.html">first</A>, <A HREF="python-xlib_22.html">previous</A>, <A HREF="python-xlib_24.html">next</A>, <A HREF="python-xlib_25.html">last</A> section, <A HREF="python-xlib_toc.html">table of contents</A>.
<P><HR><P>


<H2><A NAME="SEC22" HREF="python-xlib_toc.html#TOC22">Fontable</A></H2>

<P>
<CODE>Fontable</CODE> is a base class of <CODE>GC</CODE> and <CODE>Font</CODE>
objects.  See section <A HREF="python-xlib_24.html#SEC23">GC</A>, and section <A HREF="python-xlib_25.html#SEC24">Font</A>.


<P>
See section <A HREF="python-xlib_17.html#SEC16">Resource</A>, for additional methods.


<P>
<DL>
<DT><U>Method:</U> Fontable <B>query</B> <I>( )</I>
<DD><A NAME="IDX338"></A>
Returns
Object('min_bounds', structs.CharInfo),
Object('max_bounds', structs.CharInfo),
Card16('min_char_or_byte2'),
Card16('max_char_or_byte2'),
Card16('default_char'),
Card8('draw_direction'),
Card8('min_byte1,'),
Card8('max_byte1,'),
Card8('all_chars_exist'),
Int16('font_ascent'),
Int16('font_descent'),
List('properties', structs.FontProp),
List('char_infos', structs.CharInfo),
</DL>


<P>
<DL>
<DT><U>Method:</U> Fontable <B>query_text_extents</B> <I>( string )</I>
<DD><A NAME="IDX339"></A>
Returns
Card8('draw_direction'),
Int16('font_ascent'),
Int16('font_descent'),
Int16('overall_ascent'),
Int16('overall_descent'),
Int32('overall_width'),
Int32('overall_left'),
Int32('overall_right'),
</DL>


<P><HR><P>
Go to the <A HREF="python-xlib_1.html">first</A>, <A HREF="python-xlib_22.html">previous</A>, <A HREF="python-xlib_24.html">next</A>, <A HREF="python-xlib_25.html">last</A> section, <A HREF="python-xlib_toc.html">table of contents</A>.
</BODY>
</HTML>