Constructor

PangoXft.Renderer.new

Declaration [src]

PangoRenderer*
pango_xft_renderer_new (
  Display* display,
  int screen
)

Description [src]

Create a new PangoXftRenderer to allow rendering Pango objects with the Xft library.

You must call pango_xft_renderer_set_draw() before using the renderer.

Available since:1.8

Parameters

display Display*
 

an X display

 The data is owned by the caller of the function
screen int
 

the index of the screen for display to which rendering will be done

Return value

Returns: PangoRenderer*

the newly created PangoXftRenderer

The caller of the function takes ownership of the data, and is responsible for freeing it