Function

PangoXftget_context

Declaration [src]

PangoContext*
pango_xft_get_context (
  Display* display,
  int screen
)

Description [src]

Retrieves a PangoContext appropriate for rendering with Xft fonts on the given screen of the given display.

Deprecated since:1.22

Use pango_xft_get_font_map() followed by pango_font_map_create_context() instead.

Parameters

display Display*
 

An X display.

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

An X screen.

Return value

Returns: PangoContext*
 

The new PangoContext.

 The data is owned by the called function.