Lines Matching refs:buffer
42 void SkPairPathEffect::flatten(SkFlattenableWriteBuffer& buffer)
44 buffer.writeFlattenable(fPE0);
45 buffer.writeFlattenable(fPE1);
48 SkPairPathEffect::SkPairPathEffect(SkFlattenableReadBuffer& buffer)
50 fPE0 = (SkPathEffect*)buffer.readFlattenable();
51 fPE1 = (SkPathEffect*)buffer.readFlattenable();
119 SkFlattenable* SkStrokePathEffect::CreateProc(SkFlattenableReadBuffer& buffer)
121 return SkNEW_ARGS(SkStrokePathEffect, (buffer));
124 void SkStrokePathEffect::flatten(SkFlattenableWriteBuffer& buffer)
126 buffer.writeScalar(fWidth);
127 buffer.writeScalar(fMiter);
128 buffer.write8(fStyle);
129 buffer.write8(fJoin);
130 buffer.write8(fCap);
133 SkStrokePathEffect::SkStrokePathEffect(SkFlattenableReadBuffer& buffer)
135 fWidth = buffer.readScalar();
136 fMiter = buffer.readScalar();
137 fStyle = buffer.readU8();
138 fJoin = buffer.readU8();
139 fCap = buffer.readU8();