StaticnewCreate 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 Pango.Layout.
Staticnew_Creates a new shape attribute.
Like Pango.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 Pango.AttrShape structure is used to represent attributes which impose shape restrictions.