Home
last modified time | relevance | path

Searched refs:resScale (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/core/
DSkStrokeRec.cpp23 SkStrokeRec::SkStrokeRec(const SkPaint& paint, SkScalar resScale) { in SkStrokeRec() argument
24 this->init(paint, paint.getStyle(), resScale); in SkStrokeRec()
27 SkStrokeRec::SkStrokeRec(const SkPaint& paint, SkPaint::Style styleOverride, SkScalar resScale) { in SkStrokeRec() argument
28 this->init(paint, styleOverride, resScale); in SkStrokeRec()
31 void SkStrokeRec::init(const SkPaint& paint, SkPaint::Style style, SkScalar resScale) { in init() argument
32 fResScale = resScale; in init()
DSkPathMeasure.cpp482 SkPathMeasure::SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale) { in SkPathMeasure() argument
484 fTolerance = CHEAP_DIST_LIMIT * SkScalarInvert(resScale); in SkPathMeasure()
DSkStroke.cpp124 SkPaint::Join, SkScalar resScale,
335 SkPaint::Cap cap, SkPaint::Join join, SkScalar resScale, in SkPathStroker() argument
338 , fResScale(resScale) in SkPathStroker()
371 fInvResScale = SkScalarInvert(resScale * 4); in SkPathStroker()
DSkPaint.cpp1959 SkScalar resScale) const { in getFillPath()
1960 SkStrokeRec rec(*this, resScale); in getFillPath()
/external/skia/experimental/docs/
DcanvasBackend.js157 var resScale = window.devicePixelRatio ? window.devicePixelRatio : 1;
160 canvas.width = unscaledWidth * resScale;
161 canvas.height = unscaledHeight * resScale;
164 if (resScale != 1) {
165 ctx.scale(resScale, resScale);
/external/skia/include/core/
DSkStrokeRec.h23 SkStrokeRec(const SkPaint&, SkPaint::Style, SkScalar resScale = 1);
24 explicit SkStrokeRec(const SkPaint&, SkScalar resScale = 1);
134 void init(const SkPaint&, SkPaint::Style, SkScalar resScale);
DSkPathMeasure.h27 SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale = 1);
DSkPaint.h455 SkScalar resScale = 1) const;
/external/skia/src/gpu/
DGrStyle.cpp159 const SkPath &src, SkScalar resScale) const { in applyPathEffectToPath()
162 strokeRec.setResScale(resScale); in applyPathEffectToPath()
171 SkScalar resScale) const { in applyToPath()
175 strokeRec.setResScale(resScale); in applyToPath()