the common portion of the attribute
copy function for the user data
user data set (see [funcPango
.AttrShape.new_with_data])
destroy function for the user data
the ink rectangle to restrict to
the logical rectangle to restrict to
Create a new shape attribute.
A shape is used to impose a particular ink and logical
rectangle on the result of shaping a particular glyph.
This might be used, for instance, for embedding a picture
or a widget inside a PangoLayout
.
ink rectangle to assign to each character
logical rectangle to assign to each character
Creates a new shape attribute.
Like [funcPango
.AttrShape.new], but a user data pointer
is also provided; this pointer can be accessed when later
rendering the glyph.
ink rectangle to assign to each character
logical rectangle to assign to each character
user data pointer
function to copy data
when the attribute is copied. If %NULL, data
is simply copied as a pointer
The
PangoAttrShape
structure is used to represent attributes which impose shape restrictions.