Home
last modified time | relevance | path

Searched refs:SkScalarSinCos (Results 1 – 20 of 20) sorted by relevance

/external/skia/samplecode/
DSampleVertices.cpp177 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos); in make_fan()
205 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos); in make_strip()
DSampleCircle.cpp85 SkScalar c, s = SkScalarSinCos(angle, &c); in make_poly()
DSamplePathFill.cpp85 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star()
DSampleBitmapRect.cpp48 s = SkScalarSinCos(rad, &c); in unit_vec()
DSampleSlides.cpp378 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos); in make_fan()
406 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos); in make_strip()
/external/skia/gm/
Dhairlines.cpp152 SkScalar cosV, sinV = SkScalarSinCos(SkDegreesToRadians(kStartAngle), &cosV); in onOnceBeforeDraw()
156 sinV = SkScalarSinCos(SkDegreesToRadians(kStartAngle + kSweepAngle), &cosV); in onOnceBeforeDraw()
Danisotropic.cpp47 sin = SkScalarSinCos(angle, &cos); in onOnceBeforeDraw()
Dconvex_all_line_paths.cpp18 sin = SkScalarSinCos(SkDegreesToRadians(angle), &cos); in create_ngon()
Dpathfill.cpp83 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star()
Dsmallpaths.cpp51 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star()
Dconvexpolyeffect.cpp122 point.fY = SkScalarSinCos(angle, &point.fX); in onOnceBeforeDraw()
Dconvexpolyclip.cpp112 point.fY = SkScalarSinCos(angle, &point.fX); in onOnceBeforeDraw()
Ddashing.cpp109 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star()
/external/skia/src/utils/
DSkCamera.cpp110 s = SkScalarSinCos(SkDegreesToRadians(degX), &c); in setRotateX()
119 s = SkScalarSinCos(SkDegreesToRadians(degY), &c); in setRotateY()
128 s = SkScalarSinCos(SkDegreesToRadians(degZ), &c); in setRotateZ()
/external/skia/src/core/
DSkMath.cpp141 float SkScalarSinCos(float radians, float* cosValue) { in SkScalarSinCos() function
DSkPath.cpp1050 startV->fY = SkScalarSinCos(SkDegreesToRadians(startAngle), &startV->fX); in angles_to_unit_vectors()
1051 stopV->fY = SkScalarSinCos(SkDegreesToRadians(startAngle + sweepAngle), &stopV->fX); in angles_to_unit_vectors()
1070 stopV->fY = SkScalarSinCos(stopRad, &stopV->fX); in angles_to_unit_vectors()
1396 SkScalar cosEndTheta, sinEndTheta = SkScalarSinCos(endTheta, &cosEndTheta); in arcTo()
DSkMatrix.cpp487 sinV = SkScalarSinCos(SkDegreesToRadians(degrees), &cosV); in setRotate()
493 sinV = SkScalarSinCos(SkDegreesToRadians(degrees), &cosV); in setRotate()
/external/skia/src/effects/
DSkColorMatrix.cpp98 S = SkScalarSinCos(SkDegreesToRadians(degrees), &C); in setRotate()
/external/skia/include/core/
DSkScalar.h181 SkScalar SkScalarSinCos(SkScalar radians, SkScalar* cosValue);
/external/skia/bench/
DDashBench.cpp149 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star()