Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gdkDrawLayout

gdkDrawLayout


Description

Render a PangoLayout onto a GDK drawable

Usage

gdkDrawLayout(object, gc, x, y, layout)

Arguments

object

the drawable on which to draw string

gc

base graphics context to use

x

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

y

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

layout

a PangoLayout

Details

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.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.