PgAttributeShape.this

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.

Parameters

inkRect PangoRectangle*

ink rectangle to assign to each character

logicalRect PangoRectangle*

logical rectangle to assign to each character

Return Value

the newly allocated #PangoAttribute, which should be freed with pango_attribute_destroy().

Throws

ConstructionException GTK+ fails to create the object.

Meta