Lines Matching refs:dst
52 static SkColor4f xferColor(const SkColor4f& src, const SkColor4f& dst, SkBlendMode mode) {
57 return dst;
60 SkPMColor4f pmD = dst.premul();
70 SkPaint* dst, const SkPaint& src, const LayerInfo& info) {
76 srcColor.fA = dst->getColor4f().fA;
79 dst->setColor4f(xferColor(srcColor, dst->getColor4f(), (SkBlendMode)info.fColorMode),
89 bool aa = dst->isAntiAlias();
90 bool di = dst->isDither();
91 SkColor4f c = dst->getColor4f();
92 *dst = src;
93 dst->setAntiAlias(aa);
94 dst->setDither(di);
95 dst->setColor4f(c, sk_srgb_singleton());
100 dst->setStyle(src.getStyle());
101 dst->setStrokeWidth(src.getStrokeWidth());
102 dst->setStrokeMiter(src.getStrokeMiter());
103 dst->setStrokeCap(src.getStrokeCap());
104 dst->setStrokeJoin(src.getStrokeJoin());
108 dst->setPathEffect(src.refPathEffect());
111 dst->setMaskFilter(src.refMaskFilter());
114 dst->setShader(src.refShader());
117 dst->setColorFilter(src.refColorFilter());
120 dst->setBlender(src.refBlender());
125 dst->setTypeface(src.getTypeface());
126 dst->setTextSize(src.getTextSize());
127 dst->setTextScaleX(src.getTextScaleX());
128 dst->setRasterizer(src.getRasterizer());
129 dst->setLooper(src.getLooper());
130 dst->setTextEncoding(src.getTextEncoding());
131 dst->setHinting(src.getHinting());