函数
Pangofind_base_dir
自:1.4
声明 [源代码]
PangoDirection
pango_find_base_dir (
const gchar* text,
gint length
)
参数
text-
类型:
const gchar*要处理的文本。必须是有效的 UTF-8。
数据由函数的调用方所有。 该值是 NUL 终止的 UTF-8 字符串。 length-
类型:
ginttext的字节长度(如果text是 NUL 终止的,可以为 -1)。
返回值
类型: PangoDirection
与第一个强字符相对应的方向。如果找不到此类字符,则返回 PANGO_DIRECTION_NEUTRAL。