Searched refs:rotate90 (Results 1 – 9 of 9) sorted by relevance
/external/skia/docs/examples/ |
D | Point_normalize_2.cpp | 15 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()
|
D | Point_Normalize.cpp | 16 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);
|
D | Path_addRoundRect_2.cpp | 11 SkMatrix rotate90; in draw() local 12 rotate90.setRotate(90, 128, 128); in draw() 15 path.transform(rotate90); in draw()
|
D | Path_addRRect.cpp | 13 SkMatrix rotate90; in draw() local 14 rotate90.setRotate(90, 128, 128); in draw() 17 path.transform(rotate90); in draw()
|
/external/skqp/docs/ |
D | SkPoint_Reference.bmh | 353 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);
|
D | SkPath_Reference.bmh | 3475 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/ |
D | SampleSimpleStroker.cpp | 20 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()
|
D | SampleVariableWidthStroker.cpp | 24 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/ |
D | BUILD.gn | 1469 if (_rotate == "rotate90") {
|