Drawable.drawLayout

Warning gdk_draw_layout is deprecated and should not be used in newly-written code. Render a PangoLayout onto a GDK drawable If the layout's PangoContext has a transformation matrix set, then x and y specify the position of the top left corner of the bounding box (in device space) of the transformed layout. If you're using GTK+, the usual way to obtain a PangoLayout is gtk_widget_create_pango_layout().

class Drawable
void
drawLayout
(,
int x
,
int y
,)

Parameters

gc GC

base graphics context to use

x int

the X position of the left of the layout (in pixels)

y int

the Y position of the top of the layout (in pixels)

layout PgLayout

a PangoLayout

Meta