/external/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 …]
|
/external/skqp/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 …]
|
/external/skqp/src/core/ |
D | SkPathPriv.h | 205 bool isCCW = false; in IsOval() local 206 bool result = path.fPathRef->isOval(rect, &isCCW, start); in IsOval() 208 *dir = isCCW ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in IsOval() 233 bool isCCW = false; in IsRRect() local 234 bool result = path.fPathRef->isRRect(rrect, &isCCW, start); in IsRRect() 236 *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()
|
/external/skia/src/core/ |
D | SkPathPriv.h | 234 bool isCCW = false; in IsOval() local 235 bool result = path.fPathRef->isOval(rect, &isCCW, start); in IsOval() 237 *dir = isCCW ? SkPathDirection::kCCW : SkPathDirection::kCW; in IsOval() 262 bool isCCW = false; in IsRRect() local 263 bool result = path.fPathRef->isRRect(rrect, &isCCW, start); in IsRRect() 265 *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()
|
/external/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 | 669 `arcTo(rx, ry, xAxisRotate, useSmallArc, isCCW, x, y)` (see SkPath.h for more).
|
/external/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; 2364 isCCW: boolean, dx: number, dy: number): Path;
|