SourceGutterRendererText.measure

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

class SourceGutterRendererText
void
measure
(
string text
,
out int width
,
out int height
)

Parameters

text string

the text to measure.

width int

location to store the width of the text in pixels, or %NULL.

height int

location to store the height of the text in pixels, or %NULL.

Meta