gdk_gc_set_line_attribute does not work



in my program I want to draw wide line ,but the wide of line drawed is only 1,not the value I set using "gdk_gc_set_line_attribute"  why?

    GdkDrawable *pixmap;
    ....
    gc = gdk_gc_new (pixmap);
    gdk_gc_set_foreground(gc, (GdkColor *)color);
    gdk_gc_set_line_attributes(gc,9,
                               GDK_LINE_SOLID,0,0);
    ...

========================= 				
yangxiaoli
yanggolf yeah net
2003-07-10





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]