SourceGutterRenderer.draw

Main renderering method. Implementations should implement this method to draw onto the cairo context. The @background_area indicates total area of the cell (without padding or margin) to be drawn. The @cell_area indicates the area where content can be drawn (text, images, etc).

The @state argument indicates the current state of the renderer and should be taken into account to properly draw the different possible states (cursor, prelit, selected) if appropriate.

Parameters

cr Context

the cairo render context

backgroundArea GdkRectangle*

a #GdkRectangle indicating the total area to be drawn

cellArea GdkRectangle*

a #GdkRectangle indicating the area to draw content

start TextIter

a #GtkTextIter

end TextIter

a #GtkTextIter

state GtkSourceGutterRendererState

a #GtkSourceGutterRendererState

Meta