Home | History | Annotate | Download | only in animator

Lines Matching full:paint

122     SkPaint* paint = maker.fPaint;
123 setupPaint(paint);
168 SkPaint paint;
169 setupPaint(&paint);
172 scriptValue->fOperand.fScalar = paint.measureText(parameters[0].fOperand.fString->c_str(),
188 SkPaint paint;
189 setupPaint(&paint);
190 paint.getFontMetrics(&metrics);
223 void SkDrawPaint::setupPaint(SkPaint* paint) const {
225 paint->setAntiAlias(SkToBool(antiAlias));
227 paint->setColor(color->getColor());
229 paint->setFakeBoldText(SkToBool(fakeBold));
231 paint->setFilterBitmap(SkToBool(filterBitmap));
234 paint->setStyle(SkToBool(stroke) ? SkPaint::kStroke_Style : SkPaint::kFill_Style);
236 paint->setStyle((SkPaint::Style) style);
238 paint->setLinearText(SkToBool(linearText));
240 paint->setMaskFilter(NULL);
242 paint->setMaskFilter(maskFilter->getMaskFilter())->safeUnref();
244 paint->setPathEffect(NULL);
246 paint->setPathEffect(pathEffect->getPathEffect())->safeUnref();
248 paint->setShader(NULL);
250 paint->setShader(shader->getShader())->safeUnref();
252 paint->setStrikeThruText(SkToBool(strikeThru));
254 paint->setStrokeCap((SkPaint::Cap) strokeCap);
256 paint->setStrokeJoin((SkPaint::Join) strokeJoin);
258 paint->setStrokeMiter(strokeMiter);
260 paint->setStrokeWidth(strokeWidth);
262 paint->setTextAlign((SkPaint::Align) textAlign);
264 paint->setTextScaleX(textScaleX);
266 paint->setTextSize(textSize);
268 paint->setTextSkewX(textSkewX);
270 paint->setTypeface(NULL);
272 paint->setTypeface(typeface->getTypeface())->safeUnref();
274 paint->setUnderlineText(SkToBool(underline));
276 paint->setXfermodeMode((SkXfermode::Mode) xfermode);