Home
last modified time | relevance | path

Searched refs:isCCW (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/include/private/
H A DSkPathRef.h154 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()
224 * @param isCCW is the oval CCW (or CW if false).
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()
473 setIsOval(bool isOval, bool isCCW, unsigned start) setIsOval() argument
479 setIsRRect(bool isRRect, bool isCCW, unsigned start) setIsRRect() argument
[all...]
/third_party/skia/src/core/
H A DSkPathPriv.h235 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()
H A DSkPath_serial.cpp61 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()
H A DSkPathRef.cpp85 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); variable
211 transform_dir_and_start(matrix, (*dst)->fIsRRect, &isCCW, &start);
212 (*dst)->fRRectOrOvalIsCCW = isCCW;
/third_party/skia/modules/canvaskit/
H A Dinterface.js81 CanvasKit.Path.prototype.addOval = function(oval, isCCW, startIndex) {
86 this._addOval(oPtr, !!isCCW, startIndex);
143 CanvasKit.Path.prototype.addRect = function(rect, isCCW) {
145 this._addRect(rPtr, !!isCCW);
149 CanvasKit.Path.prototype.addRRect = function(rrect, isCCW) {
151 this._addRRect(rPtr, !!isCCW);
204 CanvasKit.Path.prototype.arcToRotated = function(rx, ry, xAxisRotate, useSmallArc, isCCW, x, y) {
205 this._arcToRotated(rx, ry, xAxisRotate, !!useSmallArc, !!isCCW, x, y);
297 CanvasKit.Path.prototype.rArcTo = function(rx, ry, xAxisRotate, useSmallArc, isCCW, dx, dy) {
298 this._rArcTo(rx, ry, xAxisRotate, useSmallArc, isCCW, d
[all...]

Completed in 5 milliseconds