Views
Foundation Package API Reference Guide
Product Documentation:
Views Documentation Home
Classes | Typedefs | Enumerations
IlvFont.h File Reference
#include <ilviews/base/resources/IlvResource.h>
#include <ilog/string.h>

Classes

class  IlvFont
 Resource class. More...
 

Typedefs

typedef IlUShort IlvFontSize
 The size of a font. More...
 

Enumerations

enum  IlvFontStyle { IlvNormalFontStyle, IlvBoldFontStyle, IlvUnderlinedFontStyle, IlvItalicFontStyle }
 The different basic font styles. More...
 

Detailed Description

Library: xviews or winviews or mviews (mutually exclusive)
Declaration of the IlvFont class.

Typedef Documentation

◆ IlvFontSize

The size of a font.

The size of a font, in pixels, is defined as an unsigned, 16-bit integer.

Warning
Some display systems may have limitations regarding the maximum font size that you can use, so that large fonts may not be allocated.
See also
IlvDisplay::getFont(const char*, IlvFontSize, IlvFontStyle, const char*).

Enumeration Type Documentation

◆ IlvFontStyle

The different basic font styles.

When allocating a font (using IlvDisplay::getFont()), you can specify the style of this font using the values defined in this enumeration.

Note
The values defined in this enumeration can be ORed in order to accumulate several style modifiers. For example, if you need an underlined, bold font, you will be using:
See also
IlvDisplay::getFont(const char*, IlvFontSize, IlvFontStyle, const char*).
Enumerator
IlvNormalFontStyle 

The font has no special style.

IlvBoldFontStyle 

The font is bold.

IlvUnderlinedFontStyle 

The font is underlined.

IlvItalicFontStyle 

The font is slanted.

IlvBoldFontStyle
@ IlvBoldFontStyle
Definition: IlvFont.h:64
IlvUnderlinedFontStyle
@ IlvUnderlinedFontStyle
Definition: IlvFont.h:68