Home
last modified time | relevance | path

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

12

/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/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.cpp446 SkScalar resScale) { in SkContourMeasureIter() argument
448 fTolerance = CHEAP_DIST_LIMIT * SkScalarInvert(resScale); in SkContourMeasureIter()
458 void SkContourMeasureIter::reset(const SkPath& path, bool forceClosed, SkScalar resScale) { in reset() argument
DSkPaint.cpp447 SkScalar resScale) const { in getFillPath()
453 SkStrokeRec rec(*this, resScale); in getFillPath()
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/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/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/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/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.h100 SkContourMeasureIter(const SkPath& path, bool forceClosed, SkScalar resScale = 1);
108 void reset(const SkPath& path, bool forceClosed, SkScalar resScale = 1);
DSkPathMeasure.h25 SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale = 1);
DSkPaint.h397 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/skqp/fuzz/
DFuzzPathMeasure.cpp25 SkScalar resScale = maxDim / 1000; in DEF_FUZZ() local
26 SkPathMeasure measure(path, bits & 1, resScale); in DEF_FUZZ()
/external/skia/fuzz/
DFuzzPathMeasure.cpp25 SkScalar resScale = maxDim / 1000; in DEF_FUZZ() local
26 SkPathMeasure measure(path, bits & 1, resScale); in DEF_FUZZ()
/external/skia/site/user/api/
DSkPaint_Reference.md102 <a href='undocumented#SkScalar'>SkScalar</a> resScale = 1) const;
2513 …rence#SkRect'>SkRect</a>* cullRect, <a href='undocumented#SkScalar'>SkScalar</a> resScale = 1)const
2529 <tr> <td><a name='SkPaint_getFillPath_resScale'><code><strong>resScale</strong></code></a></td>
2530 …<td>if > 1, increase precision, else if (0 < <a href='#SkPaint_getFillPath_resScale'>resScale</a> …
/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/skia/docs/
DSkPaint_Reference.bmh1389 SkScalar resScale = 1) const

12