Method

Pango.Renderer.draw_layout

Declaration [src]

void
pango_renderer_draw_layout (
  PangoRenderer* renderer,
  PangoLayout* layout,
  int x,
  int y
)

Description [src]

Draws layout with the specified PangoRenderer.

This is equivalent to drawing the lines of the layout, at their respective positions relative to x, y.

Available since:1.8

Parameters

layout PangoLayout
 

a PangoLayout

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

X position of left edge of baseline, in user space coordinates in Pango units.

y int
 

Y position of left edge of baseline, in user space coordinates in Pango units.