void pango_matrix_transform_pixel_rectangle ( const PangoMatrix* matrix, PangoRectangle* rect )
First transforms the
matrix, then calculates the bounding box
of the transformed rectangle.
This function is useful for example when you want to draw a rotated
PangoLayout to an image buffer, and want to know how large the image
should be and how much you should shift the layout when rendering.
Available since: 1.16
In/out bounding box in device units.
The argument will be modified by the function. The argument can be
The instance takes ownership of the data, and is responsible for freeing it.