Pango.LayoutLine.get_pixel_extents

### Method

# Pango.LayoutLine.get_pixel_extents

#### Declaration [src]

    void
    pango_layout_line_get_pixel_extents (
      PangoLayoutLine* layout_line,
      PangoRectangle* ink_rect,
      PangoRectangle* logical_rect
    )

#### Description [src]

Computes the logical and ink extents of `layout_line` in device units.

This function just calls `pango_layout_line_get_extents()` followed by two `pango_extents_to_pixels()` calls, rounding `ink_rect` and `logical_rect` such that the rounded rectangles fully contain the unrounded one (that is, passes them as first argument to `pango_extents_to_pixels()`).

#### Parameters

`ink_rect` | `PangoRectangle`
| rectangle used to store the extents of the glyph string as drawn, or `NULL`
| Direction: out
| Ownership is not transferred to the callee
`logical_rect` | `PangoRectangle`
| rectangle used to store the logical extents of the glyph string, or `NULL`
| Direction: out
| Ownership is not transferred to the callee