Description Usage Arguments Details Author(s)
Render a PangoLayout
onto a GdkDrawable
, overriding the
layout's normal colors with foreground
and/or background
.
foreground
and background
need not be allocated.
1 2 | gdkDrawLayoutWithColors(drawable, gc, x, y, layout, foreground,
background)
|
|
the drawable on which to draw string |
|
base graphics context to use |
|
the X position of the left of the layout (in pixels) |
|
the Y position of the top of the layout (in pixels) |
|
a |
|
foreground override color, or |
|
background override color, or |
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 ususal way to obtain a PangoLayout
is gtkWidgetCreatePangoLayout
.
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.