Scale.getLayoutOffsets

void getLayoutOffsets(out int x, out int y)

Obtains the coordinates where the scale will draw the #PangoLayout representing the text in the scale. Remember when using the #PangoLayout function you need to convert to and from pixels using PANGO_PIXELS() or #PANGO_SCALE.

If the #GtkScale:draw-value property is false, the return values are undefined.

Parameters

xlocation to store X offset of layout, or null
ylocation to store Y offset of layout, or null