~ubuntu-branches/ubuntu/utopic/tcm/utopic

« back to all changes in this revision

Viewing changes to doc/sourcecode/AFont.html

  • Committer: Bazaar Package Importer
  • Author(s): Otavio Salvador
  • Date: 2003-07-03 20:08:21 UTC
  • Revision ID: james.westby@ubuntu.com-20030703200821-se4xtqx25e5miczi
Tags: upstream-2.20
ImportĀ upstreamĀ versionĀ 2.20

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html><head><TITLE>AFont</TITLE></head>
 
2
<body>
 
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A>  class  AFont  </H2><BLOCKQUOTE>
 
4
 An abstract font class. 
 
5
</BLOCKQUOTE>
 
6
<hr>
 
7
 <h2> Inheritance:</h2>
 
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
 
9
<param name=classes value="CAFont,MAFont.html,CXFont,MXFont.html">
 
10
<param name=before value="M,M^_">
 
11
<param name=after value="M,M">
 
12
<param name=indent value="0,0">
 
13
<param name=arrowdir value="down">
 
14
</APPLET>
 
15
<hr>
 
16
 
 
17
<DL>
 
18
<TABLE>
 
19
<DT><h3>Public Fields</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.4.1"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  int </TD><TD><B>HELVETICA</B> <br>
 
20
<I> Helvetica font family.</I>
 
21
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.2"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  int </TD><TD><B>TIMESROMAN</B> <br>
 
22
<I> Times Roman font family.</I>
 
23
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.3"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  int </TD><TD><B>COURIER</B> <br>
 
24
<I> Courier (fixed width) font family.</I>
 
25
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.4"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  int </TD><TD><B>NEWCENTURYSCHLBK</B> <br>
 
26
<I> New century schoolbook font family.</I>
 
27
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.5"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  int </TD><TD><B>SYMBOL</B> <br>
 
28
<I> Symbol font family.</I>
 
29
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.6"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  int </TD><TD><B>PLAIN</B> <br>
 
30
<I> Plain style constant. Can be mixed with other style constants.</I>
 
31
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.7"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  int </TD><TD><B>BOLD</B> <br>
 
32
<I> Bold style constant. Can be mixed with other style constants.</I>
 
33
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.8"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  int </TD><TD><B>ITALIC</B> <br>
 
34
<I> Italicized style constant. Can be mixed with other style constants.</I>
 
35
</TD></TR></TABLE><TABLE>
 
36
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.4.9"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>AFont</B> (const <!1><A HREF="string.html">string</A>* <!2><A HREF="AFont.html#DOC.4.24">foundry</A>, int name, int <!2><A HREF="AFont.html#DOC.4.26">style</A>, int <!2><A HREF="AFont.html#DOC.4.27">size</A>, bool <!2><A HREF="AFont.html#DOC.4.28">scalable</A>)<br>
 
37
<I> Creates new font with the specified name, style and point size.</I>
 
38
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.10"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetFamily</B> ()<br>
 
39
<I> Gets the family name of the font.</I>
 
40
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.11"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetStyle</B> ()<br>
 
41
<I> Gets the style of the font.</I>
 
42
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.12"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetSize</B> ()<br>
 
43
<I> Gets the point size of the font.</I>
 
44
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.13"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsScalable</B> ()<br>
 
45
<I> Is the font scalable.</I>
 
46
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.14"> <IMG BORDER=0 SRC=icon1.gif></A> const  <!1><A HREF="string.html">string</A>* </TD><TD><B>GetFoundry</B> ()<br>
 
47
<I></I>
 
48
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.15"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetScalable</B> (bool b)<br>
 
49
<I></I>
 
50
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.16"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsUnderlined</B> ()<br>
 
51
<I> Is the font underlined.</I>
 
52
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.17"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetUnderlined</B> (bool b)<br>
 
53
<I> Set/Unset font underlined option</I>
 
54
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.18"> <IMG BORDER=0 SRC=icon1.gif></A> double </TD><TD><B>GetFactor</B> ()<br>
 
55
<I> The factor with which a scalable font is scaled.</I>
 
56
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.19"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetFactor</B> (double d)<br>
 
57
<I></I>
 
58
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.20"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsPlain</B> ()<br>
 
59
<I> Returns true if the font is plain.</I>
 
60
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.21"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsBold</B> ()<br>
 
61
<I> Returns true if the font is bold.</I>
 
62
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.4.22"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsItalic</B> ()<br>
 
63
<I> Returns true if the font is italic.</I>
 
64
</TD></TR></TABLE></DL>
 
65
<A NAME="DOC.DOCU">
 
66
<hr>
 
67
 <h2> Documentation </h2>
 
68
<BLOCKQUOTE>
 
69
 An abstract font class. 
 
70
 
 
71
</BLOCKQUOTE>
 
72
<DL>
 
73
 
 
74
<A NAME="HELVETICA">
 
75
<A NAME ="DOC.4.1">
 
76
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  int  HELVETICA</B></TT>
 
77
<DD> Helvetica font family.
 
78
<DL></DL><P>
 
79
<A NAME="TIMESROMAN">
 
80
<A NAME ="DOC.4.2">
 
81
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  int  TIMESROMAN</B></TT>
 
82
<DD> Times Roman font family.
 
83
<DL></DL><P>
 
84
<A NAME="COURIER">
 
85
<A NAME ="DOC.4.3">
 
86
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  int  COURIER</B></TT>
 
87
<DD> Courier (fixed width) font family.
 
88
<DL></DL><P>
 
89
<A NAME="NEWCENTURYSCHLBK">
 
90
<A NAME ="DOC.4.4">
 
91
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  int  NEWCENTURYSCHLBK</B></TT>
 
92
<DD> New century schoolbook font family.
 
93
<DL></DL><P>
 
94
<A NAME="SYMBOL">
 
95
<A NAME ="DOC.4.5">
 
96
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  int  SYMBOL</B></TT>
 
97
<DD> Symbol font family.
 
98
<DL></DL><P>
 
99
<A NAME="PLAIN">
 
100
<A NAME ="DOC.4.6">
 
101
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  int  PLAIN</B></TT>
 
102
<DD> Plain style constant. Can be mixed with other style constants.
 
103
<DL></DL><P>
 
104
<A NAME="BOLD">
 
105
<A NAME ="DOC.4.7">
 
106
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  int  BOLD</B></TT>
 
107
<DD> Bold style constant. Can be mixed with other style constants.
 
108
<DL></DL><P>
 
109
<A NAME="ITALIC">
 
110
<A NAME ="DOC.4.8">
 
111
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  int  ITALIC</B></TT>
 
112
<DD> Italicized style constant. Can be mixed with other style constants.
 
113
<DL></DL><P>
 
114
<A NAME="AFont">
 
115
<A NAME ="DOC.4.9">
 
116
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  AFont(const <!1><A HREF="string.html">string</A>* <!2><A HREF="AFont.html#DOC.4.24">foundry</A>, int name, int <!2><A HREF="AFont.html#DOC.4.26">style</A>, int <!2><A HREF="AFont.html#DOC.4.27">size</A>, bool <!2><A HREF="AFont.html#DOC.4.28">scalable</A>)</B></TT>
 
117
<DD> Creates new font with the specified name, style and point size.
 
118
<DL></DL><P>
 
119
<A NAME="GetFamily">
 
120
<A NAME ="DOC.4.10">
 
121
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetFamily()</B></TT>
 
122
<DD> Gets the family name of the font.
 
123
<DL></DL><P>
 
124
<A NAME="GetStyle">
 
125
<A NAME ="DOC.4.11">
 
126
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetStyle()</B></TT>
 
127
<DD> Gets the style of the font.
 
128
<DL></DL><P>
 
129
<A NAME="GetSize">
 
130
<A NAME ="DOC.4.12">
 
131
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetSize()</B></TT>
 
132
<DD> Gets the point size of the font.
 
133
<DL></DL><P>
 
134
<A NAME="IsScalable">
 
135
<A NAME ="DOC.4.13">
 
136
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsScalable()</B></TT>
 
137
<DD> Is the font scalable.
 
138
<DL></DL><P>
 
139
<A NAME="GetFoundry">
 
140
<A NAME ="DOC.4.14">
 
141
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> const  <!1><A HREF="string.html">string</A>*  GetFoundry()</B></TT>
 
142
<DL></DL><P>
 
143
<A NAME="SetScalable">
 
144
<A NAME ="DOC.4.15">
 
145
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetScalable(bool b)</B></TT>
 
146
<DL></DL><P>
 
147
<A NAME="IsUnderlined">
 
148
<A NAME ="DOC.4.16">
 
149
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsUnderlined()</B></TT>
 
150
<DD> Is the font underlined.
 
151
<DL></DL><P>
 
152
<A NAME="SetUnderlined">
 
153
<A NAME ="DOC.4.17">
 
154
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetUnderlined(bool b)</B></TT>
 
155
<DD> Set/Unset font underlined option
 
156
<DL></DL><P>
 
157
<A NAME="GetFactor">
 
158
<A NAME ="DOC.4.18">
 
159
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> double  GetFactor()</B></TT>
 
160
<DD> The factor with which a scalable font is scaled.
 
161
<DL></DL><P>
 
162
<A NAME="SetFactor">
 
163
<A NAME ="DOC.4.19">
 
164
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetFactor(double d)</B></TT>
 
165
<DL></DL><P>
 
166
<A NAME="IsPlain">
 
167
<A NAME ="DOC.4.20">
 
168
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsPlain()</B></TT>
 
169
<DD> Returns true if the font is plain.
 
170
<DL></DL><P>
 
171
<A NAME="IsBold">
 
172
<A NAME ="DOC.4.21">
 
173
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsBold()</B></TT>
 
174
<DD> Returns true if the font is bold.
 
175
<DL></DL><P>
 
176
<A NAME="IsItalic">
 
177
<A NAME ="DOC.4.22">
 
178
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsItalic()</B></TT>
 
179
<DD> Returns true if the font is italic.
 
180
<DL></DL><P></DL>
 
181
<hr>
 
182
<DL><DT><B>Direct child classes:
 
183
</B><DD><A HREF="XFont.html"> XFont </A><br>
 
184
</DL>
 
185
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I>  <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
 
186
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
 
187
<P Align=Center><I>this page has been generated automatically by doc++</I>
 
188
<P Align=Center><I>(c)opyright by <A HREF="http://www.zib.de/zoeckler/"> Malte  Z&ouml;ckler</A>, <A HREF="mailto:wunderling@zib.de"> Roland Wunderling </A><br>contact: <A HREF="mailto:doc++@zib.de"> doc++@zib.de</a></I>
 
189
</BODY>