Home
last modified time | relevance | path

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

/third_party/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()
DSkPaint.cpp369 SkScalar resScale) const { in getFillPath()
370 return this->getFillPath(src, dst, cullRect, SkMatrix::Scale(resScale, resScale)); in getFillPath()
380 const SkScalar resScale = SkPaintPriv::ComputeResScaleForStroking(ctm); in getFillPath() local
381 SkStrokeRec rec(*this, resScale); in getFillPath()
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()
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()
/third_party/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);
/third_party/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.h393 SkScalar resScale = 1) const;
/third_party/skia/src/gpu/
DGrStyle.cpp164 const SkPath &src, SkScalar resScale) const { in applyPathEffectToPath()
167 strokeRec.setResScale(resScale); in applyPathEffectToPath()
176 SkScalar resScale) const { in applyToPath()
180 strokeRec.setResScale(resScale); in applyToPath()
/third_party/skia/fuzz/
DFuzzPathMeasure.cpp28 SkScalar resScale = maxDim / 1000; in DEF_FUZZ() local
29 SkPathMeasure measure(path, bits & 1, resScale); in DEF_FUZZ()
/third_party/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts3177 new (path: Path, forceClosed: boolean, resScale: number): ContourMeasureIter;
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt2025 bool getFillPath(const SkPath& src, SkPath* dst, const SkRect* cullRect, SkScalar resScale = 1) con…