Skip to content
  • Owen Taylor's avatar
    Add an extrodinarily ugly example. · c77a8b91
    Owen Taylor authored
    Sat Jan 19 00:32:14 2002  Owen Taylor  <otaylor@redhat.com>
    
            * examples/*: Add an extrodinarily ugly example.
    
            * src/pixbuf-draw.c (draw_simple_image): Never shape
            the window, even if we are allowed to. Shaping is
            ugly -- if the widget isn't NO_WINDOW (most are),
            you'll just have to draw it rectangular.
    
            * src/pixbuf-render.c (pixbuf_render): Always use
            gdk_pixbuf_render_alpha() with FULL_ALPHA() as the
            type.
    
            * pixbuf.h src/pixbuf-render.c (theme_pixbuf_compute_hints): To
            speed up scaling, cache whether pixbufs have constant rows
            or constant columns.
    
            * src/pixbuf-render.c (pixbuf_render): Speed up scaling
            by using the hints from compute_hints().
    c77a8b91