Logo Search packages:      
Sourcecode: adesklets version File versions

void imlib_image_set_irrelevant_alpha ( char  irrelevant  ) 

irrelevant Irrelevant alpha flag.
Sets if the alpha channel status of the current image (i.e. if there is or is not one) is important for caching purposes. By default it is not. Set irrelevant to 1 to make it irrelevant and 0 to make it relevant.

Definition at line 2164 of file imlib2.c.

   ImlibImage         *im;

   if (!ctx)
      ctx = imlib_context_new();
   CHECK_PARAM_POINTER("imlib_image_set_irrelevant_alpha", "image", ctx->image);
   CAST_IMAGE(im, ctx->image);
   if (irrelevant)
        SET_FLAG(im->flags, F_ALPHA_IRRELEVANT);
        UNSET_FLAG(im->flags, F_ALPHA_IRRELEVANT);

Generated by  Doxygen 1.6.0   Back to index