Home | History | Annotate | Download | only in skin

Lines Matching refs:image

23 /* skin image file objects */
25 /* opaque skin image type. all skin images are placed in a simple MRU cache
31 /* a descriptor for a given skin image */
33 const char* path; /* image file path (must be .png) */
42 /* a special value returned when an image cannot be properly loaded */
45 /* return the SDL_Surface* pointer of a given skin image */
46 extern SDL_Surface* skin_image_surface( SkinImage* image );
47 extern int skin_image_w ( SkinImage* image );
48 extern int skin_image_h ( SkinImage* image );
49 extern int skin_image_org_w ( SkinImage* image );
50 extern int skin_image_org_h ( SkinImage* image );
52 /* get an image from the cache (load it from the file if necessary).
54 * this function also increments the reference count of the skin image,
61 /* increment the reference count of a given skin image,
62 * don't do anything if 'image' is NULL */
63 extern SkinImage* skin_image_ref( SkinImage* image );
65 /* decrement the reference count of a given skin image. if
66 * the count reaches 0, the image becomes eligible for cache flushing.
72 /* get the rotation of a given image. this decrements the reference count
77 /* create a skin image clone. the clone is not part of the cache and will
83 /* create a skin image clone, the clone is a rotated version of a source image
89 /* apply blending to a source skin image and copy the result to a target clone image */