Logo Search packages:      
Sourcecode: adesklets version File versions

void imlib_image_sharpen ( int  radius  ) 

radius The radius.
Sharpens the current image. The radius value affects how much to sharpen by.

Definition at line 3429 of file imlib2.c.

   ImlibImage         *im;

   if (!ctx)
      ctx = imlib_context_new();
   CAST_IMAGE(im, ctx->image);
   CHECK_PARAM_POINTER("imlib_image_sharpen", "image", ctx->image);
   if ((!(im->data)) && (im->loader) && (im->loader->load))
      im->loader->load(im, NULL, 0, 1);
   if (!(im->data))
   __imlib_SharpenImage(im, radius);

Generated by  Doxygen 1.6.0   Back to index