SourceGutterRendererText.measureMarkup

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

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

Parameters

markup string

the pango markup 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