Home
last modified time | relevance | path

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

/third_party/skia/samplecode/
DSampleMegaStroke.cpp17 fAngle = 0; in MegaStrokeView()
54 SkScalar x = SkScalarSin(fAngle * SK_ScalarPI / 180) * 200 + 250; in onDrawContent()
55 SkScalar y = SkScalarCos(fAngle * SK_ScalarPI / 180) * 200 + 250; in onDrawContent()
58 fAngle += 5; in onDrawContent()
60 fAngle -= 5; in onDrawContent()
77 int fAngle; member in MegaStrokeView
DSample3D.cpp48 SkScalar fAngle; member
87 float fAngle = SK_ScalarPI / 12; member in Sample3DView
89 SkV3 fEye { 0, 0, 1.0f/tan(fAngle/2) - 1 };
96 perspective = SkM44::Perspective(fNear, fFar, fAngle), in concatCamera()
171 SkScalar fAngle = 0, member in RotateAnimator
185 fPrevAngle = fAngle; in update()
186 fAngle = angle; in update()
201 fAngle += delta; in rotation()
207 return SkM44::Rotate(fAxis, fAngle); in rotation()
213 fAngleSpeed = (fAngle - fPrevAngle) / (fNow - fPrevNow); in start()
[all …]
DSampleThinAA.cpp278 fAngle = 0.f; in onOnceBeforeDraw()
300 " to 0, 'space' adds 15)", fAngle), 0, 36, font, text); in onDrawContent()
363 SkScalar newAngle = fAngle + dt * 15.f; in onAnimate()
364 bool completed = SkScalarMod(newAngle, 15.f) < SkScalarMod(fAngle, 15.f); in onAnimate()
365 fAngle = SkScalarMod(newAngle, 360.f); in onAnimate()
368 fAngle = 15.f * SkScalarRoundToScalar(fAngle / 15.f); in onAnimate()
407 case 'u': fAngle = 0.f; return true; in onChar()
408 case 'y': fAngle = 90.f; return true; in onChar()
409 case ' ': fAngle = SkScalarMod(fAngle + 15.f, 360.f); return true; in onChar()
440 SkScalar fAngle; member in skiagm::ThinAASample
[all …]
DSampleStringArt.cpp20 StringArtView() : fAngle(0.305f) {} in StringArtView()
26 SkScalar angle = fAngle*SK_ScalarPI + SkScalarHalf(SK_ScalarPI); in onDrawContent()
54 fAngle = x/width(); in onFindClickHandler()
59 SkScalar fAngle; member in StringArtView
DSampleLayers.cpp173 SkScalar fAngle; member in BackdropView
179 fAngle = 0; in BackdropView()
195 m.setRotate(fAngle); in onDrawContent()
210 fAngle = SkDoubleToScalar(fmod(1e-9 * nanos * 360 / 5, 360)); in onAnimate()
DSamplePatch.cpp208 SkScalar fAngle = 0; member
277 m.setRotate(fAngle); in onDrawContent()
285 fAngle = TimeUtils::Scaled(1e-9 * nanos, 60, 360); in onAnimate()
DSampleClip.cpp432 float fAngle = SK_ScalarPI / 4; member in SampleCameraView
434 SkV3 fEye { 0, 0, 1.0f/tan(fAngle/2) - 1 };
459 perspective = SkM44::Perspective(fNear, fFar, fAngle), in get44()
/third_party/skia/gm/
D3d.cpp15 float fAngle = SK_ScalarPI / 4; member
17 SkV3 fEye { 0, 0, 1.0f/tan(fAngle/2) - 1 };
36 perspective = SkM44::Perspective(info.fNear, info.fFar, info.fAngle); in make_ctm()
/third_party/skia/modules/skottie/src/effects/
DLinearWipeEffect.cpp51 .bind( kAngle_Index, fAngle ) in LinearWipeAdapter()
69 angle = SkDegreesToRadians(90 - fAngle), in onMakeMask()
112 fAngle = 0, member in skottie::internal::__anon0c406d080111::LinearWipeAdapter
DShadowStyles.cpp37 this->bind(abuilder, jstyle["a"], fAngle); in ShadowAdapter()
44 const auto rad = SkDegreesToRadians(180 + fAngle), // 0deg -> left (style) in onSync()
109 fAngle = 0, // degrees member in skottie::internal::__anon3230e8b50111::ShadowAdapter
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Dquaternion.inl156 T fAngle = atan(fSin, fCos); local
158 k0 = sin((static_cast<T>(1) - a) * fAngle) * fOneOverSin;
159 k1 = sin((static_cast<T>(0) + a) * fAngle) * fOneOverSin;
/third_party/skia/tests/
DPathOpsDebug.cpp860 const SkOpAngle* fAngle = span->fromAngle(); in dumpAngles() local
862 if (fAngle) { in dumpAngles()
863 SkDebugf(" span=%d from=%d ", span->debugID(), fAngle->debugID()); in dumpAngles()
864 fAngle->dumpTo(this, tAngle); in dumpAngles()
868 tAngle->dumpTo(this, fAngle); in dumpAngles()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Dquaternion.inl423 T fAngle = atan(fSin, fCos);
425 k0 = sin((T(1) - a) * fAngle) * fOneOverSin;
426 k1 = sin((T(0) + a) * fAngle) * fOneOverSin;