Searched refs:resScale (Results 1 – 8 of 8) 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 | 486 SkPathMeasure::SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale) { in SkPathMeasure() argument 488 fTolerance = CHEAP_DIST_LIMIT * SkScalarInvert(resScale); in SkPathMeasure()
|
D | SkStroke.cpp | 123 SkPaint::Join, SkScalar resScale); 324 SkPaint::Cap cap, SkPaint::Join join, SkScalar resScale) in SkPathStroker() argument 326 , fResScale(resScale) { in SkPathStroker() 357 fInvResScale = SkScalarInvert(resScale * 4); in SkPathStroker()
|
D | SkPaint.cpp | 2035 SkScalar resScale) const { in getFillPath() 2036 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); 118 void init(const SkPaint&, SkPaint::Style, SkScalar resScale);
|
D | SkPathMeasure.h | 27 SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale = 1);
|
D | SkPaint.h | 469 SkScalar resScale = 1) const;
|