libs-gui/Documentation/gsdoc/NSFont.html
Richard Frith-Macdonald b784ca705b Regenerate
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9283 72102866-910b-0410-8b05-ffd578937521
2001-03-03 10:07:01 +00:00

347 lines
11 KiB
HTML

<html><head>
<title>NSFont</title>
</head>
<body>
<a href ="NSFileWrapper.html">[Previous]</a>
<a href ="Gui.html">[Up]</a>
<a href ="NSFontManager.html">[Next]</a>
<h1>NSFont</h1>
<h3>Authors </h3>
<dl>
<dt><a href ="http://www.gnustep.org/developers/whoiswho.html">Richard Frith-Macdonald</a>
<dd>
</dl>
<p>Version: $Revision$</p>
<p>Date: $Date$</p>
<h2><a name ="cont-0">NSFont</a></h2>
<h2><a name ="NSFont">NSFont</a></h2>
<p><b>Declared in: </b> Gui/NSFont.h</p>
<p><b>Inherits from: </b> NSObject</p>
<p><b>Conforms to: </b> NSCoding
</p>
<hr>
<h2>Instance Variables </h2>
<ul>
</ul>
<h2>Methods </h2>
<ul>
<li><a href ="NSFont.html#method-0">+boldSystemFontOfSize:</a>
<li><a href ="NSFont.html#method-1">+controlContentFontOfSize:</a>
<li><a href ="NSFont.html#method-3">+fontWithName:</a>
<li><a href ="NSFont.html#method-2">+fontWithName:</a>
<li><a href ="NSFont.html#method-4">+menuFontOfSize:</a>
<li><a href ="NSFont.html#method-5">+messageFontOfSize:</a>
<li><a href ="NSFont.html#method-6">+paletteFontOfSize:</a>
<li><a href ="NSFont.html#method-7">+preferredFontNames</a>
<li><a href ="NSFont.html#method-8">+setPreferredFontNames:</a>
<li><a href ="NSFont.html#method-9">+setUserFixedPitchFont:</a>
<li><a href ="NSFont.html#method-10">+setUserFont:</a>
<li><a href ="NSFont.html#method-11">+systemFontOfSize:</a>
<li><a href ="NSFont.html#method-12">+titleBarFontOfSize:</a>
<li><a href ="NSFont.html#method-13">+toolTipsFontOfSize:</a>
<li><a href ="NSFont.html#method-14">+useFont:</a>
<li><a href ="NSFont.html#method-15">+userFixedPitchFontOfSize:</a>
<li><a href ="NSFont.html#method-16">+userFontOfSize:</a>
<li><a href ="NSFont.html#method-29">- glyphPacking</a>
<li><a href ="NSFont.html#method-17">-advancementForGlyph:</a>
<li><a href ="NSFont.html#method-18">-afmFileContents</a>
<li><a href ="NSFont.html#method-19">-ascender</a>
<li><a href ="NSFont.html#method-20">-boundingRectForFont</a>
<li><a href ="NSFont.html#method-21">-boundingRectForGlyph:</a>
<li><a href ="NSFont.html#method-22">-capHeight</a>
<li><a href ="NSFont.html#method-23">-descender</a>
<li><a href ="NSFont.html#method-24">-displayName</a>
<li><a href ="NSFont.html#method-25">-encodingScheme</a>
<li><a href ="NSFont.html#method-26">-familyName</a>
<li><a href ="NSFont.html#method-27">-fontName</a>
<li><a href ="NSFont.html#method-28">-glyphIsEncoded:</a>
<li><a href ="NSFont.html#method-30">-glyphWithName:</a>
<li><a href ="NSFont.html#method-31">-isBaseFont</a>
<li><a href ="NSFont.html#method-32">-isFixedPitch</a>
<li><a href ="NSFont.html#method-33">-italicAngle</a>
<li><a href ="NSFont.html#method-34">-matrix</a>
<li><a href ="NSFont.html#method-35">-maximumAdvancement</a>
<li><a href ="NSFont.html#method-36">-mostCompatibleStringEncoding</a>
<li><a href ="NSFont.html#method-37">-pointSize</a>
<li><a href ="NSFont.html#method-38">-positionOfGlyph:forCharacter:struckOverRect:</a>
<li><a href ="NSFont.html#method-39">-positionOfGlyph:precededByGlyph:</a>
<li><a href ="NSFont.html#method-40">-positionOfGlyph:struckOverGlyph:metricsExist:</a>
<li><a href ="NSFont.html#method-41">-positionOfGlyph:struckOverRect:metricsExist:</a>
<li><a href ="NSFont.html#method-42">-positionOfGlyph:withRelation:toBaseGlyph:totalAdvancement:metricsExist:</a>
<li><a href ="NSFont.html#method-43">-positionsForCompositeSequence:numberOfGlyphs:pointArray:</a>
<li><a href ="NSFont.html#method-44">-printerFont</a>
<li><a href ="NSFont.html#method-45">-screenFont</a>
<li><a href ="NSFont.html#method-46">-set</a>
<li><a href ="NSFont.html#method-47">-underlinePosition</a>
<li><a href ="NSFont.html#method-48">-underlineThickness</a>
<li><a href ="NSFont.html#method-49">-widthOfString:</a>
<li><a href ="NSFont.html#method-50">-widths</a>
<li><a href ="NSFont.html#method-51">-xHeight</a>
</ul>
<hr><h2>Class Methods </h2>
<h3><a name ="method-0">boldSystemFontOfSize:</a></h3>
+ (NSFont*) <b>boldSystemFontOfSize:</b> (float)fontSize;<br>
<hr>
<h3><a name ="method-1">controlContentFontOfSize:</a></h3>
+ (NSFont*) <b>controlContentFontOfSize:</b> (float)fontSize;<br>
<hr>
<h3><a name ="method-2">fontWithName:</a></h3>
+ (NSFont*) <b>fontWithName:</b> (NSString*)typeface;<br>
<hr>
<h3><a name ="method-3">fontWithName:</a></h3>
+ (NSFont*) <b>fontWithName:</b> (NSString*)fontName;<br>
<hr>
<h3><a name ="method-4">menuFontOfSize:</a></h3>
+ (NSFont*) <b>menuFontOfSize:</b> (float)fontSize;<br>
<hr>
<h3><a name ="method-5">messageFontOfSize:</a></h3>
+ (NSFont*) <b>messageFontOfSize:</b> (float)fontSize;<br>
<hr>
<h3><a name ="method-6">paletteFontOfSize:</a></h3>
+ (NSFont*) <b>paletteFontOfSize:</b> (float)fontSize;<br>
<hr>
<h3><a name ="method-7">preferredFontNames</a></h3>
+ (NSArray*) <b>preferredFontNames</b>;<br>
<hr>
<h3><a name ="method-8">setPreferredFontNames:</a></h3>
+ (void) <b>setPreferredFontNames:</b> (NSArray*)fontNames;<br>
<hr>
<h3><a name ="method-9">setUserFixedPitchFont:</a></h3>
+ (void) <b>setUserFixedPitchFont:</b> (NSFont*)aFont;<br>
<hr>
<h3><a name ="method-10">setUserFont:</a></h3>
+ (void) <b>setUserFont:</b> (NSFont*)aFont;<br>
<hr>
<h3><a name ="method-11">systemFontOfSize:</a></h3>
+ (NSFont*) <b>systemFontOfSize:</b> (float)fontSize;<br>
<hr>
<h3><a name ="method-12">titleBarFontOfSize:</a></h3>
+ (NSFont*) <b>titleBarFontOfSize:</b> (float)fontSize;<br>
<hr>
<h3><a name ="method-13">toolTipsFontOfSize:</a></h3>
+ (NSFont*) <b>toolTipsFontOfSize:</b> (float)fontSize;<br>
<hr>
<h3><a name ="method-14">useFont:</a></h3>
+ (void) <b>useFont:</b> (NSString*)fontName;<br>
<hr>
<h3><a name ="method-15">userFixedPitchFontOfSize:</a></h3>
+ (NSFont*) <b>userFixedPitchFontOfSize:</b> (float)fontSize;<br>
<hr>
<h3><a name ="method-16">userFontOfSize:</a></h3>
+ (NSFont*) <b>userFontOfSize:</b> (float)fontSize;<br>
<hr>
<hr><h2>Instances Methods </h2>
<h3><a name ="method-17">advancementForGlyph:</a></h3>
- (NSSize) <b>advancementForGlyph:</b> (NSGlyph)aGlyph;<br>
<hr>
<h3><a name ="method-18">afmFileContents</a></h3>
- (NSString*) <b>afmFileContents</b>;<br>
<hr>
<h3><a name ="method-19">ascender</a></h3>
- (float) <b>ascender</b>;<br>
<hr>
<h3><a name ="method-20">boundingRectForFont</a></h3>
- (NSRect) <b>boundingRectForFont</b>;<br>
<hr>
<h3><a name ="method-21">boundingRectForGlyph:</a></h3>
- (NSRect) <b>boundingRectForGlyph:</b> (NSGlyph)aGlyph;<br>
<hr>
<h3><a name ="method-22">capHeight</a></h3>
- (float) <b>capHeight</b>;<br>
<hr>
<h3><a name ="method-23">descender</a></h3>
- (float) <b>descender</b>;<br>
<hr>
<h3><a name ="method-24">displayName</a></h3>
- (NSString*) <b>displayName</b>;<br>
<hr>
<h3><a name ="method-25">encodingScheme</a></h3>
- (NSString*) <b>encodingScheme</b>;<br>
<hr>
<h3><a name ="method-26">familyName</a></h3>
- (NSString*) <b>familyName</b>;<br>
<hr>
<h3><a name ="method-27">fontName</a></h3>
- (NSString*) <b>fontName</b>;<br>
<hr>
<h3><a name ="method-28">glyphIsEncoded:</a></h3>
- (BOOL) <b>glyphIsEncoded:</b> (NSGlyph)aGlyph;<br>
<hr>
<h3><a name ="method-29"> glyphPacking</a></h3>
- (NSMultibyteGlyphPacking) <b> glyphPacking</b>;<br>
<hr>
<h3><a name ="method-30">glyphWithName:</a></h3>
- (NSGlyph) <b>glyphWithName:</b> (NSString*)glyphName;<br>
<hr>
<h3><a name ="method-31">isBaseFont</a></h3>
- (BOOL) <b>isBaseFont</b>;<br>
<hr>
<h3><a name ="method-32">isFixedPitch</a></h3>
- (BOOL) <b>isFixedPitch</b>;<br>
<hr>
<h3><a name ="method-33">italicAngle</a></h3>
- (float) <b>italicAngle</b>;<br>
<hr>
<h3><a name ="method-34">matrix</a></h3>
- (constfloat*) <b>matrix</b>;<br>
<hr>
<h3><a name ="method-35">maximumAdvancement</a></h3>
- (NSSize) <b>maximumAdvancement</b>;<br>
<hr>
<h3><a name ="method-36">mostCompatibleStringEncoding</a></h3>
- (NSStringEncoding) <b>mostCompatibleStringEncoding</b>;<br>
<hr>
<h3><a name ="method-37">pointSize</a></h3>
- (float) <b>pointSize</b>;<br>
<hr>
<h3><a name ="method-38">positionOfGlyph:forCharacter:struckOverRect:</a></h3>
- (NSPoint) <b>positionOfGlyph:</b> (NSGlyph)aGlyph <b>forCharacter:</b> (unichar)aChar <b>struckOverRect:</b> (NSRect)aRect;<br>
<hr>
<h3><a name ="method-39">positionOfGlyph:precededByGlyph:</a></h3>
- (NSPoint) <b>positionOfGlyph:</b> (NSGlyph)aGlyph <b>precededByGlyph:</b> (NSGlyph)prevGlyph;<br>
<hr>
<h3><a name ="method-40">positionOfGlyph:struckOverGlyph:metricsExist:</a></h3>
- (NSPoint) <b>positionOfGlyph:</b> (NSGlyph)aGlyph <b>struckOverGlyph:</b> (NSGlyph)baseGlyph <b>metricsExist:</b> (BOOL*)flag;<br>
<hr>
<h3><a name ="method-41">positionOfGlyph:struckOverRect:metricsExist:</a></h3>
- (NSPoint) <b>positionOfGlyph:</b> (NSGlyph)aGlyph <b>struckOverRect:</b> (NSRect)aRect <b>metricsExist:</b> (BOOL*)flag;<br>
<hr>
<h3><a name ="method-42">positionOfGlyph:withRelation:toBaseGlyph:totalAdvancement:metricsExist:</a></h3>
- (NSPoint) <b>positionOfGlyph:</b> (NSGlyph)aGlyph <b>withRelation:</b> (NSGlyphRelation)relation <b>toBaseGlyph:</b> (NSGlyph)baseGlyph <b>totalAdvancement:</b> (NSSizePointer)offset <b>metricsExist:</b> (BOOL*)flag;<br>
<hr>
<h3><a name ="method-43">positionsForCompositeSequence:numberOfGlyphs:pointArray:</a></h3>
- (int) <b>positionsForCompositeSequence:</b> (NSGlyph*)glyphs <b>numberOfGlyphs:</b> (int)numGlyphs <b>pointArray:</b> (NSPointArray)points;<br>
<hr>
<h3><a name ="method-44">printerFont</a></h3>
- (NSFont*) <b>printerFont</b>;<br>
<hr>
<h3><a name ="method-45">screenFont</a></h3>
- (NSFont*) <b>screenFont</b>;<br>
<hr>
<h3><a name ="method-46">set</a></h3>
- (void) <b>set</b>;<br>
<hr>
<h3><a name ="method-47">underlinePosition</a></h3>
- (float) <b>underlinePosition</b>;<br>
<hr>
<h3><a name ="method-48">underlineThickness</a></h3>
- (float) <b>underlineThickness</b>;<br>
<hr>
<h3><a name ="method-49">widthOfString:</a></h3>
- (float) <b>widthOfString:</b> (NSString*)aString;<br>
<hr>
<h3><a name ="method-50">widths</a></h3>
- (float*) <b>widths</b>;<br>
<hr>
<h3><a name ="method-51">xHeight</a></h3>
- (float) <b>xHeight</b>;<br>
<hr>
</body>
</html>