Drawable.drawLayoutLineWithColors

Warning gdk_draw_layout_line_with_colors is deprecated and should not be used in newly-written code. Render a PangoLayoutLine onto a GdkDrawable, overriding the layout's normal colors with foreground and/or background. foreground and background need not be allocated. 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.

class Drawable
void
drawLayoutLineWithColors

Parameters

gc GC

base graphics to use

x int

the x position of start of string (in pixels)

y int

the y position of baseline (in pixels)

line PgLayoutLine

a PangoLayoutLine

foreground Color

foreground override color, or NULL for none. [allow-none]

background Color

background override color, or NULL for none. [allow-none]

Meta