Lines Matching defs:layout
78 PangoLayout *layout;
524 if (priv->layout)
526 g_object_unref (priv->layout);
527 priv->layout = NULL;
593 PangoLayout *layout;
597 layout = sp_ruler_get_layout (widget, "0123456789");
598 pango_layout_get_pixel_extents (layout, &ink_rect, NULL);
656 if (priv->layout)
658 g_object_unref (priv->layout);
659 priv->layout = NULL;
1145 PangoLayout *layout;
1160 layout = sp_ruler_get_layout (widget, "0123456789");
1161 pango_layout_get_extents (layout, &ink_rect, &logical_rect);
1356 pango_layout_set_text (layout, unit_str, -1);
1357 pango_layout_get_extents (layout, &logical_rect, NULL);
1369 pango_cairo_show_layout(cr, layout);
1378 pango_layout_set_text (layout, digit_str, 1);
1379 pango_layout_get_extents (layout, NULL, &logical_rect);
1390 pango_cairo_show_layout (cr, layout);
1528 PangoLayout *layout;
1532 layout = gtk_widget_create_pango_layout (widget, text);
1541 pango_layout_set_attributes (layout, attrs);
1544 return layout;
1553 if (priv->layout)
1555 pango_layout_set_text (priv->layout, text, -1);
1556 return priv->layout;
1559 priv->layout = sp_ruler_create_layout (widget, text);
1561 return priv->layout;