libs-gui/Documentation/gsdoc/NSFont.html
Richard Frith-MacDonald f086b4e60a Fixed linking
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6444 72102866-910b-0410-8b05-ffd578937521
2000-04-10 05:29:53 +00:00

342 lines
10 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: 0.1</p>
<p>Date: 28 February, 2000</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>
<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><a name="method-0">boldSystemFontOfSize:</a></h2>
+ (NSFont*) <b>boldSystemFontOfSize:</b> (float)fontSize<br>
<hr>
<h2><a name="method-1">controlContentFontOfSize:</a></h2>
+ (NSFont*) <b>controlContentFontOfSize:</b> (float)fontSize<br>
<hr>
<h2><a name="method-2">fontWithName:</a></h2>
+ (NSFont*) <b>fontWithName:</b> (NSString*)typeface<br>
<hr>
<h2><a name="method-3">fontWithName:</a></h2>
+ (NSFont*) <b>fontWithName:</b> (NSString*)fontName<br>
<hr>
<h2><a name="method-4">menuFontOfSize:</a></h2>
+ (NSFont*) <b>menuFontOfSize:</b> (float)fontSize<br>
<hr>
<h2><a name="method-5">messageFontOfSize:</a></h2>
+ (NSFont*) <b>messageFontOfSize:</b> (float)fontSize<br>
<hr>
<h2><a name="method-6">paletteFontOfSize:</a></h2>
+ (NSFont*) <b>paletteFontOfSize:</b> (float)fontSize<br>
<hr>
<h2><a name="method-7">preferredFontNames</a></h2>
+ (NSArray*) <b>preferredFontNames</b><br>
<hr>
<h2><a name="method-8">setPreferredFontNames:</a></h2>
+ (void) <b>setPreferredFontNames:</b> (NSArray*)fontNames<br>
<hr>
<h2><a name="method-9">setUserFixedPitchFont:</a></h2>
+ (void) <b>setUserFixedPitchFont:</b> (NSFont*)aFont<br>
<hr>
<h2><a name="method-10">setUserFont:</a></h2>
+ (void) <b>setUserFont:</b> (NSFont*)aFont<br>
<hr>
<h2><a name="method-11">systemFontOfSize:</a></h2>
+ (NSFont*) <b>systemFontOfSize:</b> (float)fontSize<br>
<hr>
<h2><a name="method-12">titleBarFontOfSize:</a></h2>
+ (NSFont*) <b>titleBarFontOfSize:</b> (float)fontSize<br>
<hr>
<h2><a name="method-13">toolTipsFontOfSize:</a></h2>
+ (NSFont*) <b>toolTipsFontOfSize:</b> (float)fontSize<br>
<hr>
<h2><a name="method-14">useFont:</a></h2>
+ (void) <b>useFont:</b> (NSString*)fontName<br>
<hr>
<h2><a name="method-15">userFixedPitchFontOfSize:</a></h2>
+ (NSFont*) <b>userFixedPitchFontOfSize:</b> (float)fontSize<br>
<hr>
<h2><a name="method-16">userFontOfSize:</a></h2>
+ (NSFont*) <b>userFontOfSize:</b> (float)fontSize<br>
<hr>
<h2><a name="method-17">advancementForGlyph:</a></h2>
- (NSSize) <b>advancementForGlyph:</b> (NSGlyph)aGlyph<br>
<hr>
<h2><a name="method-18">afmFileContents</a></h2>
- (NSString*) <b>afmFileContents</b><br>
<hr>
<h2><a name="method-19">ascender</a></h2>
- (float) <b>ascender</b><br>
<hr>
<h2><a name="method-20">boundingRectForFont</a></h2>
- (NSRect) <b>boundingRectForFont</b><br>
<hr>
<h2><a name="method-21">boundingRectForGlyph:</a></h2>
- (NSRect) <b>boundingRectForGlyph:</b> (NSGlyph)aGlyph<br>
<hr>
<h2><a name="method-22">capHeight</a></h2>
- (float) <b>capHeight</b><br>
<hr>
<h2><a name="method-23">descender</a></h2>
- (float) <b>descender</b><br>
<hr>
<h2><a name="method-24">displayName</a></h2>
- (NSString*) <b>displayName</b><br>
<hr>
<h2><a name="method-25">encodingScheme</a></h2>
- (NSString*) <b>encodingScheme</b><br>
<hr>
<h2><a name="method-26">familyName</a></h2>
- (NSString*) <b>familyName</b><br>
<hr>
<h2><a name="method-27">fontName</a></h2>
- (NSString*) <b>fontName</b><br>
<hr>
<h2><a name="method-28">glyphIsEncoded:</a></h2>
- (BOOL) <b>glyphIsEncoded:</b> (NSGlyph)aGlyph<br>
<hr>
<h2><a name="method-29"> glyphPacking</a></h2>
- (NSMultibyteGlyphPacking) <b> glyphPacking</b><br>
<hr>
<h2><a name="method-30">glyphWithName:</a></h2>
- (NSGlyph) <b>glyphWithName:</b> (NSString*)glyphName<br>
<hr>
<h2><a name="method-31">isBaseFont</a></h2>
- (BOOL) <b>isBaseFont</b><br>
<hr>
<h2><a name="method-32">isFixedPitch</a></h2>
- (BOOL) <b>isFixedPitch</b><br>
<hr>
<h2><a name="method-33">italicAngle</a></h2>
- (float) <b>italicAngle</b><br>
<hr>
<h2><a name="method-34">matrix</a></h2>
- (constfloat*) <b>matrix</b><br>
<hr>
<h2><a name="method-35">maximumAdvancement</a></h2>
- (NSSize) <b>maximumAdvancement</b><br>
<hr>
<h2><a name="method-36">mostCompatibleStringEncoding</a></h2>
- (NSStringEncoding) <b>mostCompatibleStringEncoding</b><br>
<hr>
<h2><a name="method-37">pointSize</a></h2>
- (float) <b>pointSize</b><br>
<hr>
<h2><a name="method-38">positionOfGlyph:forCharacter:struckOverRect:</a></h2>
- (NSPoint) <b>positionOfGlyph:</b> (NSGlyph)aGlyph <b>forCharacter:</b> (unichar)aChar <b>struckOverRect:</b> (NSRect)aRect<br>
<hr>
<h2><a name="method-39">positionOfGlyph:precededByGlyph:</a></h2>
- (NSPoint) <b>positionOfGlyph:</b> (NSGlyph)aGlyph <b>precededByGlyph:</b> (NSGlyph)prevGlyph<br>
<hr>
<h2><a name="method-40">positionOfGlyph:struckOverGlyph:metricsExist:</a></h2>
- (NSPoint) <b>positionOfGlyph:</b> (NSGlyph)aGlyph <b>struckOverGlyph:</b> (NSGlyph)baseGlyph <b>metricsExist:</b> (BOOL*)flag<br>
<hr>
<h2><a name="method-41">positionOfGlyph:struckOverRect:metricsExist:</a></h2>
- (NSPoint) <b>positionOfGlyph:</b> (NSGlyph)aGlyph <b>struckOverRect:</b> (NSRect)aRect <b>metricsExist:</b> (BOOL*)flag<br>
<hr>
<h2><a name="method-42">positionOfGlyph:withRelation:toBaseGlyph:totalAdvancement:metricsExist:</a></h2>
- (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>
<h2><a name="method-43">positionsForCompositeSequence:numberOfGlyphs:pointArray:</a></h2>
- (int) <b>positionsForCompositeSequence:</b> (NSGlyph*)glyphs <b>numberOfGlyphs:</b> (int)numGlyphs <b>pointArray:</b> (NSPointArray)points<br>
<hr>
<h2><a name="method-44">printerFont</a></h2>
- (NSFont*) <b>printerFont</b><br>
<hr>
<h2><a name="method-45">screenFont</a></h2>
- (NSFont*) <b>screenFont</b><br>
<hr>
<h2><a name="method-46">set</a></h2>
- (void) <b>set</b><br>
<hr>
<h2><a name="method-47">underlinePosition</a></h2>
- (float) <b>underlinePosition</b><br>
<hr>
<h2><a name="method-48">underlineThickness</a></h2>
- (float) <b>underlineThickness</b><br>
<hr>
<h2><a name="method-49">widthOfString:</a></h2>
- (float) <b>widthOfString:</b> (NSString*)aString<br>
<hr>
<h2><a name="method-50">widths</a></h2>
- (float*) <b>widths</b><br>
<hr>
<h2><a name="method-51">xHeight</a></h2>
- (float) <b>xHeight</b><br>
<hr>
</body>
</html>