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)
drawable
GdkDrawable
] the drawable on which to draw the linegc
GdkGC
] base graphics to usex
y
line
foreground
GdkColor
] foreground override color, or NULL
for nonebackground
GdkColor
] background override color, or NULL
for nonePangoContext
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.