Home
last modified time | relevance | path

Searched defs:SkPoint (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/include/core/
DSkPoint.h160 struct SK_API SkPoint { struct
164 /** Sets fX to x, fY to y. Used both to set SkPoint and vector. argument
170 static constexpr SkPoint Make(SkScalar x, SkScalar y) { in Make() argument
180 /** Returns y-axis value of SkPoint or vector. argument
184 constexpr SkScalar y() const { return fY; } in y()
190 bool isZero() const { return (0 == fX) & (0 == fY); } in isZero()
197 void set(SkScalar x, SkScalar y) { in set()
233 void setAbs(const SkPoint& pt) { in setAbs() argument
244 static void Offset(SkPoint points[], int count, const SkVector& offset) { in Offset() argument
255 static void Offset(SkPoint points[], int count, SkScalar dx, SkScalar dy) { in Offset() argument
[all …]
/third_party/flutter/skia/include/core/
DSkPoint.h160 struct SK_API SkPoint { struct
164 /** Sets fX to x, fY to y. Used both to set SkPoint and vector. argument
170 static constexpr SkPoint Make(SkScalar x, SkScalar y) { in Make() argument
180 /** Returns y-axis value of SkPoint or vector. argument
184 SkScalar y() const { return fY; } in y()
190 bool isZero() const { return (0 == fX) & (0 == fY); } in isZero()
197 void set(SkScalar x, SkScalar y) { in set()
233 void setAbs(const SkPoint& pt) { in setAbs() argument
244 static void Offset(SkPoint points[], int count, const SkVector& offset) { in Offset() argument
255 static void Offset(SkPoint points[], int count, SkScalar dx, SkScalar dy) { in Offset() argument
[all …]
/third_party/skia/bench/
DGrPathUtilsBench.cpp13 FindCubicConvex180Chops(const std::array<SkPoint,4>& pts, const char* suffix) : fPts(pts) { in FindCubicConvex180Chops()
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnGpu.h88 virtual void querySampleLocations(GrRenderTarget*, SkTArray<SkPoint>*) override {} in querySampleLocations()
/third_party/skia/src/gpu/geometry/
DGrPathUtils.cpp319 SkTArray<SkPoint, true>* quads, in convert_noninflect_cubic_to_quads()
385 SkTArray<SkPoint, true>* quads, in convert_noninflect_cubic_to_quads_with_constraint()
514 SkTArray<SkPoint, true>* quads) { in convertCubicToQuads()
535 SkTArray<SkPoint, true>* quads) { in convertCubicToQuadsConstrainToTangents()
/third_party/flutter/skia/src/gpu/geometry/
DGrPathUtils.cpp400 SkTArray<SkPoint, true>* quads, in convert_noninflect_cubic_to_quads()
466 SkTArray<SkPoint, true>* quads, in convert_noninflect_cubic_to_quads_with_constraint()
595 SkTArray<SkPoint, true>* quads) { in convertCubicToQuads()
616 SkTArray<SkPoint, true>* quads) { in convertCubicToQuadsConstrainToTangents()
/third_party/skia/include/utils/
DSkNoDrawCanvas.h49 void onDrawPoints(PointMode, size_t, const SkPoint[], const SkPaint&) override {} in onDrawPoints()
72 void onDrawEdgeAAImageSet2(const ImageSetEntry[], int, const SkPoint[], const SkMatrix[], in onDrawEdgeAAImageSet2()
/third_party/flutter/skia/include/utils/
DSkNoDrawCanvas.h53 void onDrawPoints(PointMode, size_t, const SkPoint[], const SkPaint&) override {} in onDrawPoints()
82 void onDrawEdgeAAImageSet(const ImageSetEntry[], int, const SkPoint[], in onDrawEdgeAAImageSet()
/third_party/flutter/skia/src/gpu/vk/
DGrVkGpu.h76 void querySampleLocations(GrRenderTarget*, SkTArray<SkPoint>*) override { in querySampleLocations()
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlGpu.h131 void querySampleLocations(GrRenderTarget*, SkTArray<SkPoint>*) override { in querySampleLocations()
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCFiller.cpp255 const SkTArray<SkPoint, true>& pts, SkTArray<int32_t, true>& indices, int firstIndex, in emit_recursive_fan()
/third_party/skia/tools/fonts/
DTestSVGTypeface.cpp1055 SkTArray<SkPoint, true>* quads, in convert_noninflect_cubic_to_quads()
1107 void convertCubicToQuads(const SkPoint p[4], SkScalar tolScale, SkTArray<SkPoint, true>* quads) { in convertCubicToQuads()
/third_party/flutter/skia/tools/fonts/
DTestSVGTypeface.cpp1052 SkTArray<SkPoint, true>* quads, in convert_noninflect_cubic_to_quads()
1104 void convertCubicToQuads(const SkPoint p[4], SkScalar tolScale, SkTArray<SkPoint, true>* quads) { in convertCubicToQuads()
/third_party/flutter/skia/tests/
DGeometryTest.cpp223 const std::array<SkPoint, 4>& bezierPoints, SkCubicType expectedType, in check_cubic_type()
/third_party/skia/src/core/
DSkOverdrawCanvas.cpp53 void paintPaths(SkDrawableGlyphBuffer*, SkScalar, SkPoint, const SkPaint&) const override {} in paintPaths() argument
DSkDevice.h513 void drawPoints(SkCanvas::PointMode, size_t, const SkPoint[], const SkPaint&) override {} in drawPoints()
/third_party/flutter/skia/src/core/
DSkReadBuffer.h290 bool readPointArray (SkPoint*, size_t) { return false; } in readPointArray() argument
DSkDevice.h409 void drawPoints(SkCanvas::PointMode, size_t, const SkPoint[], const SkPaint&) override {} in drawPoints()
/third_party/skia/tests/
DGeometryTest.cpp288 const std::array<SkPoint, 4>& bezierPoints, SkCubicType expectedType, in check_cubic_type()