Home
last modified time | relevance | path

Searched refs:isClockwise (Results 1 – 3 of 3) sorted by relevance

/external/skia/samplecode/
DSampleSimpleStroker.cpp28 static bool isClockwise(const SkPoint& a, const SkPoint& b) { return a.cross(b) > 0; } in isClockwise() function
226 if (!isClockwise(before, after)) { in join()
DSampleVariableWidthStroker.cpp26 inline bool isClockwise(const SkPoint& a, const SkPoint& b) { return a.cross(b) > 0; } in isClockwise() function
795 outerJoin = isClockwise(before, after); in join()
799 outerJoin = !isClockwise(before, after); in join()
/external/skia/src/core/
DSkRRect.cpp481 const bool isClockwise = matrix.getSkewX() < 0; in transform() local
484 xScale = matrix.getSkewY() * (isClockwise ? 1 : -1); in transform()
485 yScale = matrix.getSkewX() * (isClockwise ? -1 : 1); in transform()
487 const int dir = isClockwise ? 3 : 1; in transform()