gdkDrawLayoutLineWithColors
Render a PangoLayoutLine
onto a GdkDrawable
, overriding the
layout's normal colors with foreground
and/or background
.
foreground
and background
need not be allocated.
gdkDrawLayoutLineWithColors(drawable, gc, x, y, line, foreground, background)
|
the drawable on which to draw the line |
|
base graphics to use |
|
the x position of start of string (in pixels) |
|
the y position of baseline (in pixels) |
|
|
|
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 left edge of the baseline
(left is in before-tranform user coordinates) in after-transform
device coordinates.
Derived by RGtkGen from GTK+ documentation
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.