app_server: Implement more composition modes
* Use agg::comp_op classes to blend pixels. * Subpixel path not implemented. * Needed by WebKit. * Implements #10274. Change-Id: I07b0002196fd0a05fc100bd9f6d703c33cadc85b Reviewed-on: https://review.haiku-os.org/c/haiku/+/2932 Reviewed-by: X512 <[email protected]> Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
cc30c791bd
commit
97bd6fe8d4
@@ -2124,9 +2124,11 @@ SetViewColor(Parent()->ViewColor());
|
||||
\param alphaFunc Set to one of the following:
|
||||
- \c B_ALPHA_OVERLAY Used for drawing a image with transparency over an opaque
|
||||
background.
|
||||
- \c B_ALPHA_COMPOSITE Used to composite two or more transparent images
|
||||
- \c B_ALPHA_COMPOSITE_* Used to composite two or more transparent images
|
||||
together offscreen to produce a new image drawn using
|
||||
\c B_ALPHA_OVERLAY mode.
|
||||
\c B_ALPHA_OVERLAY mode.
|
||||
\note Modes other than \c B_ALPHA_OVERLAY and \c B_ALPHA_COMPOSITE work
|
||||
only with \c B_PIXEL_ALPHA.
|
||||
|
||||
\since BeOS R5
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user