Home
last modified time | relevance | path

Searched refs:resScale (Results 1 – 8 of 8) 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.cpp486 SkPathMeasure::SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale) { in SkPathMeasure() argument
488 fTolerance = CHEAP_DIST_LIMIT * SkScalarInvert(resScale); in SkPathMeasure()
DSkStroke.cpp123 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()
DSkPaint.cpp2035 SkScalar resScale) const { in getFillPath()
2036 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);
118 void init(const SkPaint&, SkPaint::Style, SkScalar resScale);
DSkPathMeasure.h27 SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale = 1);
DSkPaint.h469 SkScalar resScale = 1) const;