Lines Matching refs:xfermode
1833 SkXfermode::Mode xfermode = SkXfermode::kSrcOver_Mode;
1835 paint.getXfermode()->asMode(&xfermode);
1840 if (xfermode == SkXfermode::kClear_Mode ||
1841 xfermode == SkXfermode::kSrc_Mode ||
1842 xfermode == SkXfermode::kSrcIn_Mode ||
1843 xfermode == SkXfermode::kDstIn_Mode ||
1844 xfermode == SkXfermode::kSrcOut_Mode ||
1845 xfermode == SkXfermode::kDstOut_Mode ||
1846 xfermode == SkXfermode::kSrcATop_Mode ||
1847 xfermode == SkXfermode::kDstATop_Mode ||
1848 xfermode == SkXfermode::kModulate_Mode) {
1852 } else if (xfermode != SkXfermode::kSrc_Mode &&
1853 xfermode != SkXfermode::kSrcOut_Mode) {
1863 if (xfermode == SkXfermode::kDst_Mode) {
1880 if (lastContentEntry && xfermode != SkXfermode::kDstOver_Mode &&
1889 } else if (xfermode == SkXfermode::kDstOver_Mode) {
1900 void SkPDFDevice::finishContentEntry(SkXfermode::Mode xfermode,
1903 if (xfermode != SkXfermode::kClear_Mode &&
1904 xfermode != SkXfermode::kSrc_Mode &&
1905 xfermode != SkXfermode::kDstOver_Mode &&
1906 xfermode != SkXfermode::kSrcIn_Mode &&
1907 xfermode != SkXfermode::kDstIn_Mode &&
1908 xfermode != SkXfermode::kSrcOut_Mode &&
1909 xfermode != SkXfermode::kDstOut_Mode &&
1910 xfermode != SkXfermode::kSrcATop_Mode &&
1911 xfermode != SkXfermode::kDstATop_Mode &&
1912 xfermode != SkXfermode::kModulate_Mode) {
1916 if (xfermode == SkXfermode::kDstOver_Mode) {
1929 SkASSERT(xfermode == SkXfermode::kSrc_Mode ||
1930 xfermode == SkXfermode::kSrcOut_Mode);
1955 if (shape == nullptr || xfermode == SkXfermode::kDstOut_Mode ||
1956 xfermode == SkXfermode::kSrcATop_Mode) {
1964 xfermode = SkXfermode::kClear_Mode;
1973 if (xfermode == SkXfermode::kSrcATop_Mode) {
2003 if (xfermode == SkXfermode::kClear_Mode) {
2005 } else if (xfermode == SkXfermode::kSrc_Mode ||
2006 xfermode == SkXfermode::kDstATop_Mode) {
2014 if (xfermode == SkXfermode::kSrc_Mode) {
2017 } else if (xfermode == SkXfermode::kSrcATop_Mode) {
2026 SkASSERT(xfermode == SkXfermode::kSrcIn_Mode ||
2027 xfermode == SkXfermode::kDstIn_Mode ||
2028 xfermode == SkXfermode::kSrcOut_Mode ||
2029 xfermode == SkXfermode::kDstOut_Mode ||
2030 xfermode == SkXfermode::kSrcATop_Mode ||
2031 xfermode == SkXfermode::kDstATop_Mode ||
2032 xfermode == SkXfermode::kModulate_Mode);
2034 if (xfermode == SkXfermode::kSrcIn_Mode ||
2035 xfermode == SkXfermode::kSrcOut_Mode ||
2036 xfermode == SkXfermode::kSrcATop_Mode) {
2040 xfermode == SkXfermode::kSrcOut_Mode);
2043 if (xfermode == SkXfermode::kModulate_Mode) {
2052 xfermode == SkXfermode::kDstOut_Mode);