encode_Literal_cost

encode_Literal_cost

Overview

encode_Literal_cost 是Python的Aspose.Font FOSS中的一个类.

本类提供了在Python程序中使用encode_Literal_cost对象的5种方法. 有的方法包括: DecideMultiByteStatsLevel, EstimateBitCostsForLiterals, EstimateBitCostsForLiteralsUTF8, UTF8Position, __init__. 在安装Python包的Aspose.Font FOSS后,所有公众成员都可以访问任何 Python 应用程序.

Methods

SignatureDescription
__init__()Calls 开始 在这个encode_Literal_cost实例上.
UTF8Position(last, c, clamp)计算下一个UTF-8字节位置从最后,符号和clamp标志
DecideMultiByteStatsLevel(pos, _hx_len, mask, data)根据位置,长度,面膜和数据决定多字节文字的统计水平.
EstimateBitCostsForLiteralsUTF8(pos, _hx_len, mask, cost_mask, data, cost)估计给定位置,长度,面膜,数据和输出数组的UTF-8字母位成本
EstimateBitCostsForLiterals(pos, _hx_len, mask, cost_mask, data, cost)估计一般字体的位成本,使用位置,长度,面膜,数据和输出数组

See Also

 中文