GutterRendererText.measureMarkup

void measureMarkup(string markup, out int width, out int height)

Measures the pango markup provided using the pango layout used by the #GtkSourceGutterRendererText.

Parameters

markupthe pango markup to measure.
widthlocation to store the width of the text in pixels, or null.
heightlocation to store the height of the text in pixels, or null.