gdkDrawLayout {RGtk2} | R Documentation |
Render a PangoLayout
onto a GDK drawable
gdkDrawLayout(object, gc, x, y, layout)
|
[GdkDrawable ] the drawable on which to draw string |
|
[GdkGC ] base graphics context to use |
|
[integer] the X position of the left of the layout (in pixels) |
|
[integer] the Y position of the top of the layout (in pixels) |
|
[PangoLayout ] a PangoLayout |
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 gtkWidgetCreatePangoLayout
.
Derived by RGtkGen from GTK+ documentation