Lines Matching defs:alpha

41  *  These define alpha as the opacity of a surface
89 /** Alpha value information (per-surface alpha) */
90 Uint8 alpha;
154 #define SDL_SRCALPHA 0x00010000 /**< Blit uses source alpha blending */
540 * SDL_SRCALPHA means that the surface will be used for alpha blits and
541 * if the hardware supports hardware acceleration of alpha blits between
619 * This function sets the alpha value for the entire surface, as opposed to
620 * using the alpha component of each pixel. This value measures the range
622 * being completely opaque. An 'alpha' value of 255 causes blits to be
624 * that per-surface alpha can be combined with colorkey transparency.
626 * If 'flag' is 0, alpha blending is disabled for the surface.
627 * If 'flag' is SDL_SRCALPHA, alpha blending is enabled for the surface.
631 * The 'alpha' parameter is ignored for surfaces that have an alpha channel.
633 extern DECLSPEC int SDLCALL SDL_SetAlpha(SDL_Surface *surface, Uint32 flag, Uint8 alpha);
663 * SDL will try to RLE accelerate colorkey and alpha blits in the resulting
681 * The blit semantics for surfaces with and without alpha and colorkey
686 * alpha-blend (using alpha-channel).
691 * RGB values of the source colour key, ignoring alpha in the
696 * alpha-blend (using the source per-surface alpha value);
697 * set destination alpha to opaque.
699 * copy RGB, set destination alpha to source per-surface alpha value.
706 * alpha-blend (using the source alpha channel) the RGB values;
707 * leave destination alpha untouched. [Note: is this correct?]
712 * RGB values of the source colour key, ignoring alpha in the
717 * alpha-blend (using the source per-surface alpha value).
775 * If you want to take advantage of hardware colorkey or alpha blit
776 * acceleration, you should set the colorkey and alpha value before
786 * suitable for fast alpha blitting onto the display surface.
787 * The new surface will always have an alpha channel.
789 * If you want to take advantage of hardware colorkey or alpha blit
790 * acceleration, you should set the colorkey and alpha value before