Home | History | Annotate | Download | only in skin

Lines Matching full:clone

207     SKIN_IMAGE_CLONE = (1 << 0)   /* this image is a clone */
668 SkinImage* clone;
683 clone = skin_image_create( &desc, 0 );
684 if (clone != SKIN_IMAGE_NONE)
685 clone->flags |= SKIN_IMAGE_CLONE;
687 return clone;
690 /* apply blending to a source skin image and copy the result to a target clone image */
692 skin_image_blend_clone( SkinImage* clone, SkinImage* source, int blend )
694 SDL_LockSurface( clone->surface );
695 blend_image( clone->pixels, source->pixels, source->w, source->h, blend );
696 SDL_UnlockSurface( clone->surface );
697 SDL_SetAlpha( clone->surface, SDL_SRCALPHA, 255 );