soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
FONTSTYLE Union Reference

Font style union. More...

#include <SFontInfo.h>

Public Member Functions

 FONTSTYLE (uint64_t _style=0)
 Constructor for FONTSTYLE.
 

Public Attributes

uint64_t syle
 
struct { 
 
   uint64_t   byCharset: 8 
 
   uint64_t   byWeight: 8 
 
   uint64_t   fItalic: 1 
 
   uint64_t   fUnderline: 1 
 
   uint64_t   fBold: 1 
 
   uint64_t   fStrike: 1 
 
   uint64_t   fEscapement: 12 
 
   uint64_t   reserved: 13 
 
   uint64_t   szIsAdding: 1 
 
   uint64_t   szUnit: 2 
 
   uint64_t   nSize: 16 
 
attr 
 

Detailed Description

Font style union.

Describes the style of a font using a union of a 64-bit integer and a bitfield structure.

Definition at line 12 of file SFontInfo.h.

Constructor & Destructor Documentation

◆ FONTSTYLE()

FONTSTYLE::FONTSTYLE ( uint64_t _style = 0)
inline

Constructor for FONTSTYLE.

Parameters
_styleInitial style value (default is 0)

Definition at line 38 of file SFontInfo.h.

Member Data Documentation

◆ byCharset

uint64_t FONTSTYLE::byCharset

Character set

Definition at line 21 of file SFontInfo.h.

◆ byWeight

uint64_t FONTSTYLE::byWeight

Weight/4

Definition at line 22 of file SFontInfo.h.

◆ fBold

uint64_t FONTSTYLE::fBold

Bold flag

Definition at line 25 of file SFontInfo.h.

◆ fEscapement

uint64_t FONTSTYLE::fEscapement

Angle, in 0.1 degree units

Definition at line 27 of file SFontInfo.h.

◆ fItalic

uint64_t FONTSTYLE::fItalic

Italic flag

Definition at line 23 of file SFontInfo.h.

◆ fStrike

uint64_t FONTSTYLE::fStrike

Strike-through flag

Definition at line 26 of file SFontInfo.h.

◆ fUnderline

uint64_t FONTSTYLE::fUnderline

Underline flag

Definition at line 24 of file SFontInfo.h.

◆ nSize

uint64_t FONTSTYLE::nSize

Font size, as a signed short

Definition at line 31 of file SFontInfo.h.

◆ reserved

uint64_t FONTSTYLE::reserved

Reserved

Definition at line 28 of file SFontInfo.h.

◆ syle

uint64_t FONTSTYLE::syle

Definition at line 13 of file SFontInfo.h.

◆ szIsAdding

uint64_t FONTSTYLE::szIsAdding

cSize is adding

Definition at line 29 of file SFontInfo.h.

◆ szUnit

uint64_t FONTSTYLE::szUnit

cSize unit (0-3)

Definition at line 30 of file SFontInfo.h.


The documentation for this union was generated from the following file: