7 CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
9 TITLE="Nano-X API Reference Manual"
10 HREF="index.html"><LINK
13 HREF="libnano-x.html"><LINK
16 HREF="nano-x-events.html"><LINK
19 HREF="nano-x-pointer.html"></HEAD
38 >Nano-X API Reference Manual</FONT
47 HREF="nano-x-events.html"
52 ><<< Previous Page</B
101 HREF="nano-x-pointer.html"
106 >Next Page >>></B
124 CLASS="REFSYNOPSISDIV"
142 HREF="GR-FONT-ID-CAPS"
143 >GR_FONT_ID</GTKDOCLINK
145 HREF="nano-x-fonts.html#GRCREATEFONT"
153 >GR_COORD</GTKDOCLINK
156 HREF="GR-LOGFONT-CAPS"
157 >GR_LOGFONT</GTKDOCLINK
160 HREF="nano-x-fonts.html#GRSETFONTSIZE"
163 HREF="GR-FONT-ID-CAPS"
164 >GR_FONT_ID</GTKDOCLINK
168 >GR_COORD</GTKDOCLINK
171 HREF="nano-x-fonts.html#GRSETFONTROTATION"
172 >GrSetFontRotation</A
174 HREF="GR-FONT-ID-CAPS"
175 >GR_FONT_ID</GTKDOCLINK
179 HREF="nano-x-fonts.html#GRSETFONTATTR"
182 HREF="GR-FONT-ID-CAPS"
183 >GR_FONT_ID</GTKDOCLINK
188 HREF="nano-x-fonts.html#GRDESTROYFONT"
191 HREF="GR-FONT-ID-CAPS"
192 >GR_FONT_ID</GTKDOCLINK
195 HREF="nano-x-fonts.html#GRGETFONTINFO"
198 HREF="GR-FONT-ID-CAPS"
199 >GR_FONT_ID</GTKDOCLINK
202 HREF="GR-FONT-INFO-CAPS"
203 >GR_FONT_INFO</GTKDOCLINK
244 CLASS="PROGRAMLISTING"
246 HREF="GR-FONT-ID-CAPS"
247 >GR_FONT_ID</GTKDOCLINK
248 > GrCreateFont (<GTKDOCLINK
254 >GR_COORD</GTKDOCLINK
257 HREF="GR-LOGFONT-CAPS"
258 >GR_LOGFONT</GTKDOCLINK
264 >Attempts to locate a font with the desired attributes and returns a font
265 ID number which can be used to refer to it. If the plogfont argument is
266 not NULL, the values in that structure will be used to choose a font.
267 Otherwise, if the height is non zero, the built in font with the closest
268 height to that specified will be used. If the height is zero, the built
269 in font with the specified name will be used. If the desired font is not
270 found, the first built in font will be returned as a last resort.</P
274 CLASS="INFORMALTABLE"
299 > string containing the name of a built in font to look for</TD
316 > the desired height of the font</TD
333 > pointer to a LOGFONT structure</TD
348 > a font ID number which can be used to refer to the font</TD
364 >GrSetFontSize ()</H3
373 CLASS="PROGRAMLISTING"
374 >void GrSetFontSize (<GTKDOCLINK
375 HREF="GR-FONT-ID-CAPS"
376 >GR_FONT_ID</GTKDOCLINK
380 >GR_COORD</GTKDOCLINK
386 >Changes the size of the specified font to the specified size.</P
390 CLASS="INFORMALTABLE"
415 > the ID number of the font to change the size of</TD
446 NAME="GRSETFONTROTATION"
448 >GrSetFontRotation ()</H3
457 CLASS="PROGRAMLISTING"
458 >void GrSetFontRotation (<GTKDOCLINK
459 HREF="GR-FONT-ID-CAPS"
460 >GR_FONT_ID</GTKDOCLINK
462 int tenthsdegrees);</PRE
467 >Changes the rotation of the specified font to the specified angle.</P
471 CLASS="INFORMALTABLE"
496 > the ID number of the font to rotate</TD
529 >GrSetFontAttr ()</H3
538 CLASS="PROGRAMLISTING"
539 >void GrSetFontAttr (<GTKDOCLINK
540 HREF="GR-FONT-ID-CAPS"
541 >GR_FONT_ID</GTKDOCLINK
549 >Changes the attributes (GR_TFKERNING, GR_TFANTIALIAS, GR_TFUNDERLINE, etc.)
550 of the specified font according to the set and clear mask arguments.</P
554 CLASS="INFORMALTABLE"
579 > the ID of the font to set the attributes of</TD
596 > mask specifying attribute flags to set</TD
613 > mask specifying attribute flags to clear</TD
629 >GrDestroyFont ()</H3
638 CLASS="PROGRAMLISTING"
639 >void GrDestroyFont (<GTKDOCLINK
640 HREF="GR-FONT-ID-CAPS"
641 >GR_FONT_ID</GTKDOCLINK
647 >Frees all resources associated with the specified font ID, and if the font
648 is a non built in type and this is the last ID referring to it, unloads the
653 CLASS="INFORMALTABLE"
678 > the ID of the font to destroy</TD
694 >GrGetFontInfo ()</H3
703 CLASS="PROGRAMLISTING"
704 >void GrGetFontInfo (<GTKDOCLINK
705 HREF="GR-FONT-ID-CAPS"
706 >GR_FONT_ID</GTKDOCLINK
709 HREF="GR-FONT-INFO-CAPS"
710 >GR_FONT_INFO</GTKDOCLINK
716 >Fills in the specified GR_FONT_INFO structure with information regarding
717 the specified font.</P
721 CLASS="INFORMALTABLE"
763 > pointer to a GR_FONT_INFO structure</TD
774 CLEAR="all"><BR><TABLE
786 HREF="nano-x-events.html"
791 ><<< Previous Page</B
824 HREF="libnano-x.html"
840 HREF="nano-x-pointer.html"
845 >Next Page >>></B