static void
gimp_tile_handler_projection_void_pyramid (GeglTileSource *source,
                                           gint            x,
                                           gint            y,
                                           gint            z)
{
  gegl_tile_source_void (source, x, y, z);

  if (x / 2 != x || y / 2 != y)
    gimp_tile_handler_projection_void_pyramid (source, x / 2, y / 2, z + 1);
}
Esempio n. 2
0
static void
_gegl_tile_void_pyramid (GeglTileSource *source,
                         gint            x,
                         gint            y,
                         gint            z)
{
  if (z > ((GeglTileStorage*)source)->seen_zoom)
    return;
  gegl_tile_source_void (source, x, y, z);
  _gegl_tile_void_pyramid (source, x/2, y/2, z+1);
}