
Table 4−8: AlphaComposite Compositing Rules (continued)
Rule Fs Fd Description
SRC_IN Ad 0 This rule draws the source color using the
transpar ency of the destination. Where the
destination is fully opaque, it is replaced with an
opaque version of the source. Where the
destination is fully transparent, it remains fully
transpar ent. Wher e the destination is translucent, it
is replaced with an equally translucent version of
the source. The color of the destination is never
blended with the color of the source.
SRC_OUT 1-Ad 0 This is the inverse of the SRC_IN rule. It draws the
source color using the inverse of the destination
transpar ency. Wher e the destination is opaque, it
becomes transparent. Where the destination is
transpar ent, it is replaced with an opaque version
of the source. Where the destination is translucent,
it is replaced with an inversely translucent version
of the source.
DST_IN 0 As This rule ignores the color of the source, but
modifies the destination based on the transparency
of the source. Where the source is transparent, the
destination becomes transparent. Where the source
is opaque, the destination is unmodified. Where
the source is translucent, the destination becomes
corr espondingly translucent.
DST_OUT 0 1-As This rule is the inverse of the DST_IN rule. It
ignor es the source color but modifies the
destination based on the inverse of the source
transpar ency. Wher e the source ...