Logo Search packages:      
Sourcecode: adesklets version File versions

void imlib_blend_image_onto_image_at_angle ( Imlib_Image  source_image,
char  merge_alpha,
int  source_x,
int  source_y,
int  source_width,
int  source_height,
int  destination_x,
int  destination_y,
int  angle_x,
int  angle_y 

source_image The image source.
merge_alpha A char.
source_x The source x coordinate.
source_y The source y coordinate.
source_width The source width.
source_height The source height.
destination_x The destination x coordinate.
destination_y The destination y coordinate.
angle_x An angle.
angle_y An angle.
Works just like imlib_blend_image_onto_image_skewed() except you cannot skew an image (v_angle_x and v_angle_y are 0).

Definition at line 5306 of file imlib2.c.

   ImlibImage         *im_src, *im_dst;

   if (!ctx)
      ctx = imlib_context_new();
                       "source_image", source_image);
   CHECK_PARAM_POINTER("imlib_blend_image_onto_image_at_angle", "image",
   CAST_IMAGE(im_src, source_image);
   CAST_IMAGE(im_dst, ctx->image);
   if ((!(im_src->data)) && (im_src->loader) && (im_src->loader->load))
      im_src->loader->load(im_src, NULL, 0, 1);
   if (!(im_src->data))
   if ((!(im_dst->data)) && (im_dst->loader) && (im_dst->loader->load))
      im_dst->loader->load(im_dst, NULL, 0, 1);
   if (!(im_dst->data))
   __imlib_BlendImageToImageSkewed(im_src, im_dst, ctx->anti_alias,
                                   ctx->blend, merge_alpha, source_x,
                                   source_y, source_width, source_height,
                                   destination_x, destination_y, angle_x,
                                   angle_y, 0, 0, ctx->color_modifier,
                                   ctx->cliprect.x, ctx->cliprect.y,
                                   ctx->cliprect.w, ctx->cliprect.h);

Generated by  Doxygen 1.6.0   Back to index