KerningTriState Struct Reference

#include <customgui_kerning.h>

详细描述

TriState helper for class Kerning .

公共成员函数

  KerningTriState ()
  KerningTriState (const Kerning &k)
void  添加 (const Kerning &k)
Kerning   GetValue () const
Bool   GetTri () const

Public Attributes

TriState < Float _kerning
TriState < Float _tracking
TriState < Float _scale
TriState < Float _scaleH
TriState < Float _scaleV
TriState < Float _baselineShift
TriState < Float _leading

构造函数 & 析构函数文档编制

◆  KerningTriState() [1/2]

KerningTriState ( )

Default constructor.

◆  KerningTriState() [2/2]

KerningTriState ( const Kerning k )
explicit

Copy constructor.

参数
[in] k The KerningTriState object to copy members from.

成员函数文档编制

◆  Add()

void Add ( const Kerning k )

Adds a Kerning object to the TriState .

参数
[in] k The Kerning object to add.

◆  GetValue()

Kerning GetValue ( ) const

Retrieves the TriState 's value.

返回
The TriState 's value.

◆  GetTri()

Bool GetTri ( ) const

Retrieves the TriState status.

返回
true TriState is ambiguous, otherwise false .

Member Data Documentation

◆  _kerning

TriState < Float > _kerning

TriState for Kerning.

◆  _tracking

TriState < Float > _tracking

TriState for Tracking.

◆  _scale

TriState < Float > _scale

TriState for Scale.

◆  _scaleH

TriState < Float > _scaleH

TriState for Horizontal Scale.

◆  _scaleV

TriState < Float > _scaleV

TriState for Vertical Scale.

◆  _baselineShift

TriState < Float > _baselineShift

TriState for Baseline Shift.

◆  _leading

TriState < Float > _leading

TriState for Leading.