Home
last modified time | relevance | path

Searched refs:rotate90 (Results 1 – 9 of 9) sorted by relevance

/external/skia/docs/examples/
DPoint_normalize_2.cpp15 SkVector rotate90 = { -vector.fY, vector.fX }; in draw() local
16 rotate90 *= 10.f; in draw()
17 canvas->drawLine(line[0] - rotate90, line[0] + rotate90, paint); in draw()
18 canvas->drawLine(line[1] - rotate90, line[1] + rotate90, paint); in draw()
DPoint_Normalize.cpp16 SkVector rotate90 = { -vector.fY, vector.fX };
17 rotate90 *= 10.f;
18 canvas->drawLine(line[0] - rotate90, line[0] + rotate90, paint);
19 canvas->drawLine(line[1] - rotate90, line[1] + rotate90, paint);
DPath_addRoundRect_2.cpp11 SkMatrix rotate90; in draw() local
12 rotate90.setRotate(90, 128, 128); in draw()
15 path.transform(rotate90); in draw()
DPath_addRRect.cpp13 SkMatrix rotate90; in draw() local
14 rotate90.setRotate(90, 128, 128); in draw()
17 path.transform(rotate90); in draw()
/external/skqp/docs/
DSkPoint_Reference.bmh353 SkVector rotate90 = { -vector.fY, vector.fX };
354 rotate90 *= 10.f;
355 canvas->drawLine(line[0] - rotate90, line[0] + rotate90, paint);
356 canvas->drawLine(line[1] - rotate90, line[1] + rotate90, paint);
892 SkVector rotate90 = { -vector.fY, vector.fX };
893 rotate90 *= 10.f;
894 canvas->drawLine(line[0] - rotate90, line[0] + rotate90, paint);
895 canvas->drawLine(line[1] - rotate90, line[1] + rotate90, paint);
DSkPath_Reference.bmh3475 SkMatrix rotate90;
3476 rotate90.setRotate(90, 128, 128);
3479 path.transform(rotate90);
3504 SkMatrix rotate90;
3505 rotate90.setRotate(90, 128, 128);
3508 path.transform(rotate90);
/external/skia/samplecode/
DSampleSimpleStroker.cpp20 static SkPoint rotate90(const SkPoint& p) { return {p.fY, -p.fX}; } in rotate90() function
182 const SkPoint normal = rotate90(tangent); in strokeLine()
260 const SkPoint prevUnitTangent = rotate90(before); in join()
336 const SkPoint normal = rotate90(tangent); in unitNormal()
DSampleVariableWidthStroker.cpp24 constexpr inline SkPoint rotate90(const SkPoint& p) { return {p.fY, -p.fX}; } in rotate90() function
974 const SkPoint normal = rotate90(tangent); in unitNormal()
998 return rotate90(tangent); in unitNormal()
1010 return rotate90(tangent); in unitNormal()
/external/angle/src/tests/
DBUILD.gn1469 if (_rotate == "rotate90") {