Method
PangoLayoutserialize
Declaration [src]
GBytes*
pango_layout_serialize (
PangoLayout* layout,
PangoLayoutSerializeFlags flags
)
Description [src]
Serializes the layout
for later deserialization via Pango.Layout.deserialize.
There are no guarantees about the format of the output across different versions of Pango and Pango.Layout.deserialize will reject data that it cannot parse.
The intended use of this function is testing, benchmarking and debugging. The format is not meant as a permanent storage format.
Available since: | 1.50 |
Parameters
flags |
PangoLayoutSerializeFlags |
|
Return value
Returns: | GBytes |
A |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. |