9 return "BlendingMode::kSource";
11 return "BlendingMode::kSourceOver";
13 return "BlendingMode::kSourceIn";
15 return "BlendingMode::kSourceAtop";
17 return "BlendingMode::kDestination";
19 return "BlendingMode::kDestinationOver";
21 return "BlendingMode::kDestinationIn";
23 return "BlendingMode::kDestinationAtop";
25 return "BlendingMode::kClear";
27 return "BlendingMode::kSourceOut";
29 return "BlendingMode::kDestinationOut";
31 return "BlendingMode::kXor";
33 return "BlendingMode::kSourceOverOpaque";
35 return "BlendingMode::kDestinationOverOpaque";
37 return "BlendingMode::(unknown)";
43 return "TransparencyMode::kNone";
45 return "TransparencyMode::kCrude";
47 return "TransparencyMode::kFull";
49 return "TransparencyMode::(unknown)";
55 return os << ToString(mode);
60 return os << ToString(mode);
Defines 140 opaque HTML named colors.
BlendingMode
Porter-Duff style blending modes.
@ kDestinationOver
Destination is placed over the source.
@ kDestinationIn
Destination which overlaps the source, replaces the source.
@ kDestinationOut
Destination is placed, where it falls outside of the source.
@ kSourceOverOpaque
Similar to kSourceOver, but assumes that the destination is opaque.
@ kXor
The non-overlapping regions of source and destination are combined.
@ kDestination
Only the destination will be present.
@ kSource
The new ARGB8888 value completely replaces the old one.
@ kDestinationAtop
Destination which overlaps the source replaces the source. Source is placed elsewhere.
@ kSourceIn
The source that overlaps the destination, replaces the destination.
@ kSourceAtop
Source which overlaps the destination, replaces the destination. Destination is placed elsewhere.
@ kDestinationOverOpaque
Similar to kDestinationOver, but assumes that the source is opaque.
@ kClear
No regions are enabled.
@ kSourceOver
Source is placed (alpha-blended) over the destination. This is the default blending mode.
@ kSourceOut
Source is placed, where it falls outside of the destination.
TransparencyMode
Transparency information for a stream or color mode.
@ kNone
All colors are fully opaque.
@ kCrude
Colors are either fully opaque or fully transparent.
@ kFull
Colors may include partial transparency (alpha channel).
roo_logging::Stream & operator<<(roo_logging::Stream &os, BlendingMode mode)