GIMP Widgets Library Reference Manual | ||||
---|---|---|---|---|
Top | Description |
gboolean gimp_cairo_set_focus_line_pattern (cairo_t *cr
,GtkWidget *widget
); cairo_surface_t * gimp_cairo_surface_create_from_pixbuf (GdkPixbuf *pixbuf
);
gboolean gimp_cairo_set_focus_line_pattern (cairo_t *cr
,GtkWidget *widget
);
Sets color and dash pattern for stroking a focus line on the given
cr
. The line pattern is taken from widget
.
|
Cairo context |
|
widget to draw the focus indicator on |
Returns : |
TRUE if the widget style has a focus line pattern,
FALSE otherwise |
Since GIMP 2.6
cairo_surface_t * gimp_cairo_surface_create_from_pixbuf
(GdkPixbuf *pixbuf
);
Create a Cairo image surface from a GdkPixbuf.
You should avoid calling this function as there are probably more efficient ways of achieving the result you are looking for.
|
a GdkPixbuf |
Returns : |
a cairo_surface_t. |
Since GIMP 2.6