GutterRendererText.measure
void measure(string text, out int width, out int height)Measures the text provided using the pango layout used by the #GtkSourceGutterRendererText.
Parameters
text | the text to measure. |
width | location to store the width of the text in pixels, or null. |
height | location to store the height of the text in pixels, or null. |