Searched refs:resScale (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/core/ |
D | SkStrokeRec.cpp | 23 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()
|
D | SkPathMeasure.cpp | 482 SkPathMeasure::SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale) { in SkPathMeasure() argument 484 fTolerance = CHEAP_DIST_LIMIT * SkScalarInvert(resScale); in SkPathMeasure()
|
D | SkStroke.cpp | 124 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()
|
D | SkPaint.cpp | 1959 SkScalar resScale) const { in getFillPath() 1960 SkStrokeRec rec(*this, resScale); in getFillPath()
|
/external/skia/experimental/docs/ |
D | canvasBackend.js | 157 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/ |
D | SkStrokeRec.h | 23 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);
|
D | SkPathMeasure.h | 27 SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale = 1);
|
D | SkPaint.h | 455 SkScalar resScale = 1) const;
|
/external/skia/src/gpu/ |
D | GrStyle.cpp | 159 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()
|