Displaying 3 results from an estimated 3 matches for "cairo_stroke_preserv".
Did you mean:
cairo_stroke_preserve
2007 Apr 07
3
GWD button drawing prob-- any Cairo pro have insights?
...tion=view¤t=gwd-button-prob.flv
The following patch seems to work around the problem (but only if I set the
alpha less than 1.0):
--- gtk/window-decorator/gtk-window-decorator.c
+++ gtk/window-decorator/gtk-window-decorator.c
@@ -943,7 +943,7 @@ button_state_paint (cairo_t *cr,
cairo_stroke_preserve (cr);
if (state & IN_EVENT_WINDOW)
- cairo_set_source_rgb (cr, 1.0, 1.0, 1.0);
+ cairo_set_source_rgba (cr, 1.0, 1.0, 1.0, 0.99);
else
cairo_set_source_rgba (cr, color->r, color->g, color->b, 0.95);
I'm not proficient enough with...
2010 Oct 27
1
firefox problems
...01]
| UNKNOWN [/usr/lib64/libcairo.so.2 +0x0001DA70]
| UNKNOWN [/usr/lib64/libcairo.so.2 +0x0001CE2F]
| UNKNOWN [/usr/lib64/libcairo.so.2 +0x0001D75B]
| UNKNOWN [/usr/lib64/libcairo.so.2 +0x0001DB6C]
| UNKNOWN [/usr/lib64/libcairo.so.2 +0x0001B87F]
| UNKNOWN [/usr/lib64/libcairo.so.2 +0x000100C0]
| cairo_stroke_preserve+0x0000001D [/usr/lib64/libcairo.so.2
| +0x0000BF9D]
| cairo_stroke+0x00000009 [/usr/lib64/libcairo.so.2 +0x0000BFB9]
| UNKNOWN [/usr/lib64/gtk-2.0/2.10.0/engines/libclearlooks.so
| +0x0000C2C3]
| UNKNOWN [/usr/lib64/gtk-2.0/2.10.0/engines/libclearlooks.so
| +0x00004FC6]
| UNKNOWN [/usr/lib64/xulru...
2007 Aug 29
0
15 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_system_as.c
...(gtkwidget->window);
-
- cairo_arc (cr, debug->x, debug->y, RADIUS - 1.5, 0.0, 2 * G_PI);
- if (debug->button) {
- cairo_set_source_rgba (cr, 0.25, 0.25, 0.25, 0.5);
- cairo_fill_preserve (cr);
- }
- cairo_set_line_width (cr, 3);
- cairo_set_source_rgb (cr, 1.0, 1.0, 1.0);
- cairo_stroke_preserve (cr);
- cairo_set_line_width (cr, 1);
- cairo_set_source_rgb (cr, 0.0, 0.0, 0.0);
- cairo_stroke (cr);
- cairo_destroy (cr);
-
- return FALSE;
-}
-
-static void
-swfdec_debug_widget_dispose (GObject *object)
-{
- //SwfdecWidget *widget = SWFDEC_WIDGET (object);
-
- G_OBJECT_CLASS (swfdec_de...