Searched refs:directionX (Results 1 – 2 of 2) sorted by relevance
276 int directionX = (crossPoint.x - firstPoint.x) > 0 ? 1 : -1; in CalculateLineAndArc() local279 … (directionX * directionY > 0) ? RSPathDirection::CW_DIRECTION : RSPathDirection::CCW_DIRECTION; in CalculateLineAndArc()287 path->LineTo(crossPoint.x - radius * directionX, crossPoint.y); in CalculateLineAndArc()290 int directionX = (secondPoint.x - crossPoint.x) > 0 ? 1 : -1; in CalculateLineAndArc() local293 … (directionX * directionY < 0) ? RSPathDirection::CW_DIRECTION : RSPathDirection::CCW_DIRECTION; in CalculateLineAndArc()302 … path->ArcTo(radius, radius, 0.0f, direction, crossPoint.x + radius * directionX, secondPoint.y); in CalculateLineAndArc()
125 …etBgImageSize(BackgroundImageSizeType type, double value = FULL_IMG_SIZE, double directionX = true)127 if (background_ && directionX) {134 if (background_ && !directionX) {