Home
last modified time | relevance | path

Searched refs:SkRadiansToDegrees (Results 1 – 13 of 13) sorted by relevance

/external/skia/tests/
DGrVxTest.cpp53 x, approx_acos_x, SkRadiansToDegrees(approx_acos_x), acosf_x, in check_approx_acos()
54 SkRadiansToDegrees(acosf_x), error, SkRadiansToDegrees(error), in check_approx_acos()
55 GRVX_APPROX_ACOS_MAX_ERROR, SkRadiansToDegrees(GRVX_APPROX_ACOS_MAX_ERROR)); in check_approx_acos()
111 x[j], SkRadiansToDegrees(approx_acos_x[j] - acosf(x[j])), in DEF_TEST()
112 SkRadiansToDegrees(err_[j]), SkRadiansToDegrees(err__[j])); in DEF_TEST()
164 SkRadiansToDegrees(approxTheta), expectedTheta, SkRadiansToDegrees(expectedTheta), in check_approx_angle_between_vectors()
165 error, SkRadiansToDegrees(error), GRVX_APPROX_ACOS_MAX_ERROR, in check_approx_angle_between_vectors()
166 SkRadiansToDegrees(GRVX_APPROX_ACOS_MAX_ERROR)); in check_approx_angle_between_vectors()
/external/skia/modules/pathkit/
Dpathkit_wasm_bindings.cpp315 const auto sweep = SkRadiansToDegrees(endAngle - startAngle) - 360 * ccw; in ApplyAddArc()
316 temp.addArc(bounds, SkRadiansToDegrees(startAngle), sweep); in ApplyAddArc()
326 const auto sweep = SkRadiansToDegrees(endAngle - startAngle) - (360 * ccw); in ApplyEllipse()
327 temp.addArc(bounds, SkRadiansToDegrees(startAngle), sweep); in ApplyEllipse()
330 m.setRotate(SkRadiansToDegrees(rotation), x, y); in ApplyEllipse()
/external/skqp/modules/pathkit/
Dpathkit_wasm_bindings.cpp328 const auto sweep = SkRadiansToDegrees(endAngle - startAngle) - 360 * ccw; in ApplyAddArc()
329 temp.addArc(bounds, SkRadiansToDegrees(startAngle), sweep); in ApplyAddArc()
339 const auto sweep = SkRadiansToDegrees(endAngle - startAngle) - (360 * ccw); in ApplyEllipse()
340 temp.addArc(bounds, SkRadiansToDegrees(startAngle), sweep); in ApplyEllipse()
343 m.setRotate(SkRadiansToDegrees(rotation), x, y); in ApplyEllipse()
/external/skia/samplecode/
DSampleFlutterAnimate.cpp47 canvas->rotate(SkRadiansToDegrees(rot)); in onDrawContent()
/external/skqp/samplecode/
DSampleFlutterAnimate.cpp60 canvas->rotate(SkRadiansToDegrees(rot)); in onDrawContent()
/external/skia/include/core/
DSkScalar.h113 #define SkRadiansToDegrees(radians) ((radians) * (180 / SK_ScalarPI)) macro
DSkMatrix.h109 return RotateDeg(SkRadiansToDegrees(rad)); in RotateRad()
/external/skqp/include/core/
DSkScalar.h130 #define SkRadiansToDegrees(radians) ((radians) * (180 / SK_ScalarPI)) macro
/external/skia/modules/skottie/src/animator/
DVec2KeyframeAnimator.cpp148 const auto new_rot_value = SkRadiansToDegrees(std::atan2(new_tan_value.y, in update()
/external/skqp/src/c/
Dsk_surface.cpp262 AsCanvas(ccanvas)->rotate(SkRadiansToDegrees(radians)); in sk_canvas_rotate_radians()
/external/skia/src/c/
Dsk_surface.cpp281 AsCanvas(ccanvas)->rotate(SkRadiansToDegrees(radians)); in sk_canvas_rotate_radians()
/external/skqp/gm/
Dwacky_yuv_formats.cpp76 SkScalar startDeg = SkRadiansToDegrees(SkScalarATan2(startV.fY, startV.fX)); in add_arc()
77 SkScalar endDeg = SkRadiansToDegrees(SkScalarATan2(endV.fY, endV.fX)); in add_arc()
/external/skia/gm/
Dwacky_yuv_formats.cpp245 SkScalar startDeg = SkRadiansToDegrees(SkScalarATan2(startV.fY, startV.fX)); in add_arc()
246 SkScalar endDeg = SkRadiansToDegrees(SkScalarATan2(endV.fY, endV.fX)); in add_arc()