/third_party/skia/include/private/ |
D | SkPathRef.h | 154 void setIsOval(bool isOval, bool isCCW, unsigned start) { in setIsOval() argument 155 fPathRef->setIsOval(isOval, isCCW, start); in setIsOval() 158 void setIsRRect(bool isRRect, bool isCCW, unsigned start) { in setIsRRect() argument 159 fPathRef->setIsRRect(isRRect, isCCW, start); in setIsRRect() 233 bool isOval(SkRect* rect, bool* isCCW, unsigned* start) const { in isOval() argument 238 if (isCCW) { in isOval() 239 *isCCW = SkToBool(fRRectOrOvalIsCCW); in isOval() 249 bool isRRect(SkRRect* rrect, bool* isCCW, unsigned* start) const { in isRRect() argument 254 if (isCCW) { in isRRect() 255 *isCCW = SkToBool(fRRectOrOvalIsCCW); in isRRect() [all …]
|
/third_party/flutter/skia/include/private/ |
D | SkPathRef.h | 105 void setIsOval(bool isOval, bool isCCW, unsigned start) { in setIsOval() argument 106 fPathRef->setIsOval(isOval, isCCW, start); in setIsOval() 109 void setIsRRect(bool isRRect, bool isCCW, unsigned start) { in setIsRRect() argument 110 fPathRef->setIsRRect(isRRect, isCCW, start); in setIsRRect() 184 bool isOval(SkRect* rect, bool* isCCW, unsigned* start) const { in isOval() argument 189 if (isCCW) { in isOval() 190 *isCCW = SkToBool(fRRectOrOvalIsCCW); in isOval() 200 bool isRRect(SkRRect* rrect, bool* isCCW, unsigned* start) const { in isRRect() argument 205 if (isCCW) { in isRRect() 206 *isCCW = SkToBool(fRRectOrOvalIsCCW); in isRRect() [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkPathPriv.h | 197 bool isCCW = false; in IsOval() local 198 bool result = path.fPathRef->isOval(rect, &isCCW, start); in IsOval() 200 *dir = isCCW ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in IsOval() 225 bool isCCW = false; in IsRRect() local 226 bool result = path.fPathRef->isRRect(rrect, &isCCW, start); in IsRRect() 228 *dir = isCCW ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in IsRRect()
|
D | SkPath_serial.cpp | 58 bool isCCW; in writeToMemoryAsRRect() local 60 if (fPathRef->isOval(&oval, &isCCW, &start)) { in writeToMemoryAsRRect() 64 } else if (!fPathRef->isRRect(&rrect, &isCCW, &start)) { in writeToMemoryAsRRect() 74 int firstDir = isCCW ? SkPathPriv::kCCW_FirstDirection : SkPathPriv::kCW_FirstDirection; in writeToMemoryAsRRect()
|
D | SkPathRef.cpp | 119 static void transform_dir_and_start(const SkMatrix& matrix, bool isRRect, bool* isCCW, in transform_dir_and_start() argument 164 *isCCW = !*isCCW; in transform_dir_and_start() 240 bool isCCW = SkToBool(src.fRRectOrOvalIsCCW); in CreateTransformedCopy() local 241 transform_dir_and_start(matrix, (*dst)->fIsRRect, &isCCW, &start); in CreateTransformedCopy() 242 (*dst)->fRRectOrOvalIsCCW = isCCW; in CreateTransformedCopy()
|
/third_party/skia/src/core/ |
D | SkPathPriv.h | 235 bool isCCW = false; in IsOval() local 236 bool result = path.fPathRef->isOval(rect, &isCCW, start); in IsOval() 238 *dir = isCCW ? SkPathDirection::kCCW : SkPathDirection::kCW; in IsOval() 263 bool isCCW = false; in IsRRect() local 264 bool result = path.fPathRef->isRRect(rrect, &isCCW, start); in IsRRect() 266 *dir = isCCW ? SkPathDirection::kCCW : SkPathDirection::kCW; in IsRRect()
|
D | SkPath_serial.cpp | 61 bool isCCW; in writeToMemoryAsRRect() local 63 if (fPathRef->isOval(&oval, &isCCW, &start)) { in writeToMemoryAsRRect() 67 } else if (!fPathRef->isRRect(&rrect, &isCCW, &start)) { in writeToMemoryAsRRect() 77 int firstDir = isCCW ? (int)SkPathFirstDirection::kCCW : (int)SkPathFirstDirection::kCW; in writeToMemoryAsRRect()
|
D | SkPathRef.cpp | 85 static void transform_dir_and_start(const SkMatrix& matrix, bool isRRect, bool* isCCW, in transform_dir_and_start() argument 130 *isCCW = !*isCCW; in transform_dir_and_start() 210 bool isCCW = SkToBool(src.fRRectOrOvalIsCCW); in CreateTransformedCopy() local 211 transform_dir_and_start(matrix, (*dst)->fIsRRect, &isCCW, &start); in CreateTransformedCopy() 212 (*dst)->fRRectOrOvalIsCCW = isCCW; in CreateTransformedCopy()
|
/third_party/skia/modules/canvaskit/ |
D | interface.js | 81 CanvasKit.Path.prototype.addOval = function(oval, isCCW, startIndex) { argument 86 this._addOval(oPtr, !!isCCW, startIndex); 143 CanvasKit.Path.prototype.addRect = function(rect, isCCW) { argument 145 this._addRect(rPtr, !!isCCW); 149 CanvasKit.Path.prototype.addRRect = function(rrect, isCCW) { argument 151 this._addRRect(rPtr, !!isCCW); 204 CanvasKit.Path.prototype.arcToRotated = function(rx, ry, xAxisRotate, useSmallArc, isCCW, x, y) { argument 205 this._arcToRotated(rx, ry, xAxisRotate, !!useSmallArc, !!isCCW, x, y); 297 CanvasKit.Path.prototype.rArcTo = function(rx, ry, xAxisRotate, useSmallArc, isCCW, dx, dy) { argument 298 this._rArcTo(rx, ry, xAxisRotate, useSmallArc, isCCW, dx, dy);
|
D | CHANGELOG.md | 776 `arcTo(rx, ry, xAxisRotate, useSmallArc, isCCW, x, y)` (see SkPath.h for more).
|
/third_party/skia/modules/canvaskit/npm_build/types/ |
D | index.d.ts | 2077 addOval(oval: InputRect, isCCW?: boolean, startIndex?: number): Path; 2111 addRect(rect: InputRect, isCCW?: boolean): Path; 2119 addRRect(rrect: InputRRect, isCCW?: boolean): Path; 2145 isCCW?: boolean): Path; 2176 isCCW: boolean, x: number, y: number): Path; 2372 isCCW: boolean, dx: number, dy: number): Path;
|