Home
last modified time | relevance | path

Searched refs:setRotate (Results 1 - 25 of 97) sorted by relevance

1234

/third_party/skia/gm/
H A Dxform.cpp33 fRA->setRotate(30); in XformGM()
37 fB->setRotate(30); in XformGM()
97 fRA->setRotate(TimeUtils::Scaled(1e-9 * nanos, 40, 0));
98 fB->setRotate(TimeUtils::Scaled(1e-9 * nanos, 40*sqrtf(2), 0));
H A Dsharedcorners.cpp130 rot.setRotate(45, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes()
135 rot.setRotate(-45 - 69.38111f, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes()
H A Dcirculararcs.cpp280 matrices.push_back().setRotate(kRadius, kRadius, 45.f); in DEF_SIMPLE_GM()
307 tinyCW.setRotate(0.001f, kRadius, kRadius); in DEF_SIMPLE_GM()
312 tinyCCW.setRotate(-0.001f, kRadius, kRadius); in DEF_SIMPLE_GM()
317 cw45.setRotate(45.f, kRadius, kRadius); in DEF_SIMPLE_GM()
H A Druntimefunctions.cpp47 localM.setRotate(90, 128, 128);
/third_party/skia/tests/
H A DMatrixTest.cpp197 rot90Scale.setRotate(90).postScale(SK_Scalar1 / 4, SK_Scalar1 / 2); in test_matrix_min_max_scale()
204 rotate.setRotate(128); in test_matrix_min_max_scale()
383 mat.setRotate(SkIntToScalar(angle)); in test_matrix_preserve_shape()
397 mat.setRotate(30).postTranslate(10, 20); in test_matrix_preserve_shape()
402 mat.setRotate(30).postScale(2, 2); in test_matrix_preserve_shape()
407 mat.setRotate(30).postScale(3, 2); in test_matrix_preserve_shape()
503 mat.setRotate(kRotation0); in test_matrix_decomposition()
518 mat.setRotate(kRotation1).postScale(kScale0, kScale0); in test_matrix_decomposition()
528 mat.setRotate(kRotation0).postScale(kScale1, -kScale1); in test_matrix_decomposition()
538 mat.setRotate(kRotation in test_matrix_decomposition()
[all...]
H A DGrQuadCropTest.cpp214 rotated.setRotate(45.f); in test_axis_aligned()
232 rotated.setRotate(45.f); in test_crop_fully_covered()
249 rotation.setRotate(90.f); in TEST()
251 rotation.setRotate(180.f); in TEST()
253 rotation.setRotate(270.f); in TEST()
259 rotation.setRotate(34.f); in TEST()
/third_party/skia/src/gpu/
H A DGrTestUtils.cpp31 gMatrices[2].setRotate(SkIntToScalar(17)); in test_matrix()
32 gMatrices[3].setRotate(SkIntToScalar(185)); in test_matrix()
37 gMatrices[4].setRotate(SkIntToScalar(215)); in test_matrix()
73 gMatrices[4].setRotate(47); in TestMatrixPreservesRightAngles()
99 gMatrices[5].setRotate(90); in TestMatrixRectStaysRect()
/third_party/skia/experimental/xform/
H A DSkXform.h109 void setRotate(SkScalar degrees) { in setRotate() function in MatrixXF
110 fLocalMatrix.setRotate(degrees); in setRotate()
/third_party/skia/docs/examples/
H A DMatrix_preservesAxisAlignment.cpp9 matrix.setRotate(angle); in REG_FIDDLE()
H A DMatrix_rectStaysRect.cpp9 matrix.setRotate(angle); in REG_FIDDLE()
H A DPath_getLastPt.cpp11 matrix.setRotate(36, 100, 100); in REG_FIDDLE()
H A DImage_makeShader.cpp8 matrix.setRotate(45); in REG_FIDDLE()
H A DImage_makeShader_2.cpp8 matrix.setRotate(45); in REG_FIDDLE()
H A DMatrix_dump.cpp8 matrix.setRotate(45); in REG_FIDDLE()
H A DPath_addRRect.cpp14 rotate90.setRotate(90, 128, 128); in REG_FIDDLE()
H A DPath_addRoundRect_2.cpp12 rotate90.setRotate(90, 128, 128); in REG_FIDDLE()
H A DPath_getBounds.cpp17 matrix.setRotate(45, 50, 45); in REG_FIDDLE()
H A DPath_computeTightBounds.cpp17 matrix.setRotate(45, 50, 45); in REG_FIDDLE()
H A DPath_transform.cpp16 matrix.setRotate(36 * i, 100, 100); in REG_FIDDLE()
H A DPath_transform_2.cpp14 matrix.setRotate(36, 100, 100); in REG_FIDDLE()
H A DMatrix_mapPoints_2.cpp8 matrix.setRotate(35, 128, 128); in REG_FIDDLE()
H A DMatrix_mapRect.cpp10 matrix.setRotate(45, 128, 128); in REG_FIDDLE()
H A DMatrix_setRotate.cpp14 matrix.setRotate(25, rect.centerX(), rect.centerY()); in REG_FIDDLE()
H A DMatrix_mapRect_2.cpp10 matrix.setRotate(45, 128, 128); in REG_FIDDLE()
H A DMatrix_mapRect_3.cpp9 matrix.setRotate(50, 28, 28); in REG_FIDDLE()

Completed in 11 milliseconds

1234