Home
last modified time | relevance | path

Searched refs:premultiplied (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/docs/examples/
H A DPreMultiplyARGB.cpp8 SkPMColor premultiplied = SkPreMultiplyARGB(160, 128, 160, 192); in REG_FIDDLE() local
12 std::string str = "alpha=" + std::to_string(SkColorGetA(premultiplied)); in REG_FIDDLE()
13 str += " red=" + std::to_string(SkColorGetR(premultiplied)); in REG_FIDDLE()
14 str += " green=" + std::to_string(SkColorGetG(premultiplied)); in REG_FIDDLE()
15 str += " blue=" + std::to_string(SkColorGetB(premultiplied)); in REG_FIDDLE()
H A DPreMultiplyColor.cpp9 SkPMColor premultiplied = SkPreMultiplyColor(unpremultiplied); in REG_FIDDLE() local
17 str = "alpha=" + std::to_string(SkColorGetA(premultiplied)); in REG_FIDDLE()
18 str += " red=" + std::to_string(SkColorGetR(premultiplied)); in REG_FIDDLE()
19 str += " green=" + std::to_string(SkColorGetG(premultiplied)); in REG_FIDDLE()
20 str += " blue=" + std::to_string(SkColorGetB(premultiplied)); in REG_FIDDLE()
/third_party/rust/crates/aho-corasick/src/
H A Ddfa.rs402 premultiplied: bool,
492 assert!(!self.premultiplied, "can't swap states in premultiplied DFA"); in swap_states()
515 !self.premultiplied, in shuffle_match_states()
516 "cannot shuffle match states of premultiplied DFA" in shuffle_match_states()
566 if self.premultiplied || self.state_count <= 1 { in premultiply()
585 self.premultiplied = true; in premultiply()
622 /// premultiplied (which is enabled by default).
635 premultiplied: false, in build()

Completed in 3 milliseconds