PangoFT2.render_layout_subpixel
Description: Reference for PangoFT2.render_layout_subpixel

### Function

# PangoFT2.render_layout_subpixel

#### Declaration [src]

    void
    pango_ft2_render_layout_subpixel (
      FT_Bitmap* bitmap,
      PangoLayout* layout,
      int x,
      int y
    )

#### Description [src]

Render a `PangoLayout` onto a FreeType2 bitmap, with he location specified in fixed-point Pango units rather than pixels. (Using this will avoid extra inaccuracies from rounding to integer pixels multiple times, even if the final glyph positions are integers.)

#### Parameters

`bitmap` | `FT_Bitmap*`
| a FT_Bitmap to render the layout onto
| Ownership is not transferred to the callee
`layout` | `PangoLayout*`
| a `PangoLayout`
| Ownership is not transferred to the callee
`x` | `int`
| the X position of the left of the layout (in Pango units)
`y` | `int`
| the Y position of the top of the layout (in Pango units)