Function

PangoXftrender_layout

since: 1.8

Declaration [src]

void
pango_xft_render_layout (
  XftDraw* draw,
  XftColor* color,
  PangoLayout* layout,
  int x,
  int y
)

Description [src]

Render a PangoLayout onto a XftDraw.

Available since: 1.8

Parameters

draw

Type: XftDraw

An XftDraw.

The data is owned by the caller of the function.
color

Type: XftColor

The foreground color in which to draw the layout (may be overridden by color attributes)

The data is owned by the caller of the function.
layout

Type: PangoLayout

A PangoLayout

The data is owned by the caller of the function.
x

Type: int

The X position of the left of the layout (in Pango units)

y

Type: int

The Y position of the top of the layout (in Pango units)