Lines Matching defs:src
12 #include "src/core/SkArenaAlloc.h"
13 #include "src/core/SkBlendModePriv.h"
14 #include "src/core/SkColorSpacePriv.h"
15 #include "src/core/SkMaskFilterBase.h"
16 #include "src/core/SkReadBuffer.h"
17 #include "src/core/SkStringUtils.h"
18 #include "src/core/SkWriteBuffer.h"
19 #include "src/core/SkXfermodePriv.h"
52 static SkColor4f xferColor(const SkColor4f& src, const SkColor4f& dst, SkBlendMode mode) {
55 return src;
59 SkPMColor4f pmS = src.premul();
70 SkPaint* dst, const SkPaint& src, const LayerInfo& info) {
71 SkColor4f srcColor = src.getColor4f();
75 if (src.getAlpha() == 255) {
92 *dst = src;
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());