Home
last modified time | relevance | path

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

12

/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.cpp13 SkPathMeasure::SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale) in SkPathMeasure() argument
14 : fIter(path, forceClosed, resScale) in SkPathMeasure()
DSkContourMeasure.cpp177 Impl(const SkPath& path, bool forceClosed, SkScalar resScale) in Impl() argument
180 , fTolerance(CHEAP_DIST_LIMIT * SkScalarInvert(resScale)) in Impl()
478 SkScalar resScale) { in SkContourMeasureIter() argument
479 this->reset(path, forceClosed, resScale); in SkContourMeasureIter()
486 void SkContourMeasureIter::reset(const SkPath& path, bool forceClosed, SkScalar resScale) { in reset() argument
488 fImpl = std::make_unique<Impl>(path, forceClosed, resScale); in reset()
DSkPaint.cpp329 SkScalar resScale) const { in getFillPath()
335 SkStrokeRec rec(*this, resScale); in getFillPath()
DSkStroke.cpp163 SkPaint::Join, SkScalar resScale,
379 SkPaint::Cap cap, SkPaint::Join join, SkScalar resScale, in SkPathStroker() argument
382 , fResScale(resScale) in SkPathStroker()
415 fInvResScale = SkScalarInvert(resScale * 4); in SkPathStroker()
/external/skqp/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()
DSkPaint.cpp513 SkScalar resScale) const { in getFillPath()
519 SkStrokeRec rec(*this, resScale); in getFillPath()
DSkPathMeasure.cpp504 SkPathMeasure::SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale) { in SkPathMeasure() argument
506 fTolerance = CHEAP_DIST_LIMIT * SkScalarInvert(resScale); in SkPathMeasure()
DSkStroke.cpp130 SkPaint::Join, SkScalar resScale,
346 SkPaint::Cap cap, SkPaint::Join join, SkScalar resScale, in SkPathStroker() argument
349 , fResScale(resScale) in SkPathStroker()
382 fInvResScale = SkScalarInvert(resScale * 4); in SkPathStroker()
/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/skqp/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.h24 SkStrokeRec(const SkPaint&, SkPaint::Style, SkScalar resScale = 1);
25 explicit SkStrokeRec(const SkPaint&, SkScalar resScale = 1);
137 void init(const SkPaint&, SkPaint::Style, SkScalar resScale);
DSkContourMeasure.h102 SkContourMeasureIter(const SkPath& path, bool forceClosed, SkScalar resScale = 1);
110 void reset(const SkPath& path, bool forceClosed, SkScalar resScale = 1);
DSkPathMeasure.h24 SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale = 1);
DSkPaint.h422 SkScalar resScale = 1) const;
/external/skqp/include/core/
DSkStrokeRec.h24 SkStrokeRec(const SkPaint&, SkPaint::Style, SkScalar resScale = 1);
25 explicit SkStrokeRec(const SkPaint&, SkScalar resScale = 1);
137 void init(const SkPaint&, SkPaint::Style, SkScalar resScale);
DSkPathMeasure.h28 SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale = 1);
DSkPaint.h395 SkScalar resScale = 1) const;
/external/skqp/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()
/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()
/external/skia/fuzz/
DFuzzPathMeasure.cpp28 SkScalar resScale = maxDim / 1000; in DEF_FUZZ() local
29 SkPathMeasure measure(path, bits & 1, resScale); in DEF_FUZZ()
/external/skqp/fuzz/
DFuzzPathMeasure.cpp25 SkScalar resScale = maxDim / 1000; in DEF_FUZZ() local
26 SkPathMeasure measure(path, bits & 1, resScale); in DEF_FUZZ()
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts3109 new (path: Path, forceClosed: boolean, resScale: number): ContourMeasureIter;
/external/skqp/site/user/api/
DSkPaint_Reference.md102 <a href='undocumented#SkScalar'>SkScalar</a> resScale = 1) const;
2540 …rence#SkRect'>SkRect</a>* cullRect, <a href='undocumented#SkScalar'>SkScalar</a> resScale = 1)const
2556 <tr> <td><a name='SkPaint_getFillPath_resScale'><code><strong>resScale</strong></code></a></td>
2557 …<td>if > 1, increase precision, else if (0 < <a href='#SkPaint_getFillPath_resScale'>resScale</a> …
/external/skqp/docs/
DSkPaint_Reference.bmh1581 SkScalar resScale = 1) const

12