Logo Search packages:      
Sourcecode: adesklets version File versions

Imlib_Image imlib_load_image_without_cache ( const char *  file  ) 

Parameters:
file Image file.
Returns:
An image handle.
Loads the image without looking in the cache first. Returns an image handle on success or NULL on failure.

Definition at line 1712 of file imlib2.c.

{
   Imlib_Image         im = NULL;
   Imlib_Image         prev_ctxt_image;

   if (!ctx)
      ctx = imlib_context_new();
   CHECK_PARAM_POINTER_RETURN("imlib_load_image_without_cache", "file",
                              file, NULL);
   prev_ctxt_image = ctx->image;
   im = __imlib_LoadImage(file, (ImlibProgressFunction) ctx->progress_func,
                          ctx->progress_granularity, 0, 1, NULL);
   ctx->image = prev_ctxt_image;
   return (Imlib_Image) im;
}


Generated by  Doxygen 1.6.0   Back to index