Description Usage Arguments Details Value Author(s)
Based on the script, East Asian width, base gravity, and hint,
returns actual gravity to use in laying out a single character
or PangoItem
.
1 2 | pangoGravityGetForScriptAndWidth(script, wide, base.gravity,
hint)
|
|
[ |
|
[logical] |
|
[ |
|
[ |
This function is similar to pangoGravityGetForScript
except
that this function makes a distinction between narrow/half-width and
wide/full-width characters also. Wide/full-width characters always
stand upright, that is, they always take the base gravity,
whereas narrow/full-width characters are always rotated in vertical
context.
If base.gravity
is PANGO_GRAVITY_AUTO
, it is first replaced with the
preferred gravity of script
.
Since 1.26
[PangoGravity
] resolved gravity suitable to use for a run of text
with script
and wide
.
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.