-
首页
-
C4D R23.110 C++ SDK
#include <customgui_kerning.h>
详细描述
Holds the kerning parameters for one character in a string.
构造函数 & 析构函数文档编制
◆
Kerning()
[1/3]
Default constructor.
◆
Kerning()
[2/3]
Copy constructor.
-
参数
-
[in]
|
source
|
The
Kerning
object to copy members from.
|
◆
Kerning()
[3/3]
Constructor with parameters.
-
参数
-
成员函数文档编制
◆
ReadHF()
Reads the
Kerning
object from a
HyperFile
.
-
参数
-
[in]
|
hf
|
The
HyperFile
to read from. The caller owns the pointed
HyperFile
.
|
[in]
|
level
|
The file level.
|
-
返回
-
true
if successful, otherwise
false
.
◆
WriteHF()
Writes the
Kerning
object to a
HyperFile
.
-
参数
-
-
返回
-
true
if successful, otherwise
false
.
◆
GetOffsetVector()
向量
GetOffsetVector
|
(
|
|
)
|
const
|
Computes a vector that combines kerning, tracking, baseline shift and leading.
-
返回
-
The offset vector.
◆
GetScaleVector()
向量
GetScaleVector
|
(
|
|
)
|
const
|
Computes a vector that combines scale, horizontal scale and vertical scale.
-
返回
-
The scale vector.
◆
ToString()
Converts the
Kerning
value to a readable string.
-
返回
-
The string.
Friends And Related Function Documentation
◆
operator==
Equality operator.
-
返回
-
true
if equal, otherwise
false
.
◆
operator!=
Inequality operator.
-
返回
-
true
if not equal, otherwise
false
.
◆
Combine
Combines two
Kerning
对象。
-
注意
-
Offsets are added, scales are taken from second
Kerning
对象。
-
参数
-
-
返回
-
The resulting
Kerning
对象。
Member Data Documentation
◆
_kerning
Moves the character along its X axis, to create (or remove) space before the character.
◆
_tracking
Like
_kerning
, but for a group of characters.
◆
_scale
Scales the character.
◆
_scaleH
Scales the character along its X axis.
◆
_scaleV
Scales the character along its Y axis.
◆
_baselineShift
Moves the character along its Y axis.
◆
_leading
Not used currently.