1. 09 Jun, 2014 1 commit
  2. 07 Aug, 2013 1 commit
  3. 03 Jul, 2013 2 commits
    • Alexander Larsson's avatar
      GtkIconHelper: Convert to using cairo surfaces as base and support scales · 031e1a98
      Alexander Larsson authored
      We render the source into a cairo_surface_t so that we can render it
      with cairo directly, rather than having to convert it from a pixbuf
      every time. We also specify the target window when creating the cairo
      surface so that rendering can be faster.
      
      Using cairo surfaces also allows us to seamlessly support window scales.
      
      We also add a GTK_IMAGE_SURFACE source type.
      031e1a98
    • Alexander Larsson's avatar
      GtkIconHelper: Add set_window() · 5d8fd4ee
      Alexander Larsson authored
      This is a hint on where the icon will be drawn. It
      will allow us to pre-allocate cairo surfaces for the right
      target.
      5d8fd4ee
  4. 13 Jul, 2012 1 commit
  5. 27 Feb, 2012 1 commit
  6. 30 Nov, 2011 1 commit
    • Cosimo Cecchi's avatar
      icon-helper: add GtkIconHelper private object · b5d8d2c4
      Cosimo Cecchi authored
      GtkIconHelper is a helper object to easily obtain a pixbuf from
      different icon sources (e.g. a GIcon, an icon name, a stock id, ...).
      
      Code is ported from GtkImage, which will be adapted in the next commit.
      b5d8d2c4