240 FXFont(FXApp* a,
const FXString&
string);
254 virtual void create();
257 virtual void detach();
260 virtual void destroy();
269 const FXString& getName()
const {
return wantedName; }
272 const FXString& getActualName()
const {
return actualName; }
275 FXuint getSize()
const {
return wantedSize; }
278 FXuint getActualSize()
const {
return actualSize; }
281 FXuint getWeight()
const {
return wantedWeight; }
284 FXuint getActualWeight()
const {
return actualWeight; }
287 FXuint getSlant()
const {
return wantedSlant; }
290 FXuint getActualSlant()
const {
return actualSlant; }
293 FXuint getEncoding()
const {
return wantedEncoding; }
296 FXuint getActualEncoding()
const {
return actualEncoding; }
299 FXuint getSetWidth()
const {
return wantedSetwidth; }
302 FXuint getActualSetWidth()
const {
return actualSetwidth; }
305 FXuint getHints()
const {
return hints; }
308 FXuint getFlags()
const {
return flags; }
311 void getFontDesc(FXFontDesc& fontdesc)
const;
314 virtual void setFontDesc(
const FXFontDesc& fontdesc);
317 FXint getAngle()
const {
return angle; }
320 virtual void setAngle(
FXint ang);
326 FXString getFont()
const;
331 virtual void setFont(
const FXString&
string);
334 virtual FXbool isFontMono()
const;
340 virtual FXwchar getMinChar()
const;
343 virtual FXwchar getMaxChar()
const;
352 virtual FXint getFontWidth()
const;
355 virtual FXint getFontHeight()
const;
358 virtual FXint getFontAscent()
const;
361 virtual FXint getFontDescent()
const;
364 virtual FXint getFontLeading()
const;
367 virtual FXint getFontSpacing()
const;
373 virtual FXint getTextWidth(
const FXString&
string)
const;
379 virtual FXint getTextHeight(
const FXString&
string)
const;
392 virtual void save(FXStream& store)
const;
395 virtual void load(FXStream& store);
IBM-PC Latin2.
Definition: FXFont.h:64
Normal or regular weight.
Definition: FXFont.h:181
Esperanto (Latin3)
Definition: FXFont.h:43
unsigned long FXID
Definition: fxdefs.h:442
unsigned short FXushort
Definition: fxdefs.h:394
FXushort size
Face name.
Definition: FXFont.h:124
Windows Thai.
Definition: FXFont.h:87
Don't care character encoding.
Definition: FXFont.h:39
Straight, not slanted.
Definition: FXFont.h:171
Latin 5 (Turkish)
Definition: FXFont.h:112
char FXchar
Definition: fxdefs.h:387
Ukrainian.
Definition: FXFont.h:58
IBM-PC Greek.
Definition: FXFont.h:63
Windows Baltic.
Definition: FXFont.h:85
Greek.
Definition: FXFont.h:110
short FXshort
Definition: fxdefs.h:395
Cyrillic.
Definition: FXFont.h:107
West European (Latin1)
Definition: FXFont.h:41
Windows Turkish.
Definition: FXFont.h:82
unsigned int FXuint
Definition: fxdefs.h:396
Latin 3 (South European)
Definition: FXFont.h:105
Central and East European (Latin2)
Definition: FXFont.h:42
Greek.
Definition: FXFont.h:47
Hebrew.
Definition: FXFont.h:48
Latin 2 (East European)
Definition: FXFont.h:92
Russian.
Definition: FXFont.h:57
#define FXAPI
Definition: fxdefs.h:122
FXuchar FXbool
Definition: fxdefs.h:393
Windows Arabic.
Definition: FXFont.h:84
Application Object.
Definition: FXApp.h:158
Thai.
Definition: FXFont.h:114
IBM-PC Iceland.
Definition: FXFont.h:69
Latin 6 (Nordic)
Definition: FXFont.h:113
IBMPC Multilingual.
Definition: FXFont.h:62
Latin 10.
Definition: FXFont.h:100
IBM-PC Greek #2.
Definition: FXFont.h:75
Abstract Device Context.
Definition: FXDC.h:191
Windows Central European.
Definition: FXFont.h:78
Font style.
Definition: FXFont.h:122
Windows Hebrew.
Definition: FXFont.h:83
Latin-2 Multilingual.
Definition: FXFont.h:76
IBM-PC Portugese.
Definition: FXFont.h:68
bool match(const FXString &pattern, const FXString &file, FXuint flags=(FILEMATCH_NOESCAPE|FILEMATCH_FILE_NAME))
Perform wildcard match of a filename against a wildcard pattern.
Baltic.
Definition: FXFont.h:52
Turkish (Latin5)
Definition: FXFont.h:49
Encapsulates server side resource.
Definition: FXId.h:37
wchar_t FXwchar
Definition: fxdefs.h:411
FXushort flags
Encoding of character set.
Definition: FXFont.h:129
Latin 7 (Baltic Rim)
Definition: FXFont.h:115
IBM-PC Cyrillic.
Definition: FXFont.h:65
int FXint
Definition: fxdefs.h:397
Windows Russian.
Definition: FXFont.h:79
FXushort encoding
Set width [normal, condensed, expanded, ...].
Definition: FXFont.h:128
IBM-PC Israel.
Definition: FXFont.h:70
Windows Latin1.
Definition: FXFont.h:80
Regular printing.
Definition: FXFont.h:195
IBM-PC Nordic.
Definition: FXFont.h:73
IBM-PC code page.
Definition: FXFont.h:61
Latin 5 (Turkish)
Definition: FXFont.h:95
Latin 6 (Nordic)
Definition: FXFont.h:96
FXushort setwidth
Slant [normal, italic, oblique, ...].
Definition: FXFont.h:127
Latin 1 (West European)
Definition: FXFont.h:91
IBM-PC Hebrew.
Definition: FXFont.h:66
Thai.
Definition: FXFont.h:51
IBM-PC Cyrillic #2.
Definition: FXFont.h:74
Windows Vietnam.
Definition: FXFont.h:86
IBM-PC Turkish.
Definition: FXFont.h:67
Latin 1 (West European)
Definition: FXFont.h:103
Cyrillic (almost obsolete)
Definition: FXFont.h:45
IBM-PC Canadian/French.
Definition: FXFont.h:71
Latin 4 (North European)
Definition: FXFont.h:94
Latin 3 (South European)
Definition: FXFont.h:93
Window Device Context.
Definition: FXDCWindow.h:52
FXchar face[116]
Definition: FXFont.h:123
FXFontEncoding
Font character set encoding.
Definition: FXFont.h:38
IBM-PC Arabic.
Definition: FXFont.h:72
FXushort weight
Size in deci-points.
Definition: FXFont.h:125
Latin 7 (Baltic Rim)
Definition: FXFont.h:97
Latin 1.
Definition: FXFont.h:102
Latin 8 (Celtic)
Definition: FXFont.h:116
Latin 2 (East European)
Definition: FXFont.h:104
FXushort slant
Weight [light, normal, bold, ...].
Definition: FXFont.h:126
Windows Greek.
Definition: FXFont.h:81
Font class.
Definition: FXFont.h:142
Latin 4 (North European)
Definition: FXFont.h:106
Arabic.
Definition: FXFont.h:109
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92
Latin 8 (Celtic)
Definition: FXFont.h:98
Arabic.
Definition: FXFont.h:46
Cyrillic.
Definition: FXFont.h:108
FXString provides essential string manipulation capabilities.
Definition: FXString.h:33
Latin 9 AKA Latin 0.
Definition: FXFont.h:99
Hebrew.
Definition: FXFont.h:111